OCR List

From UA Libraries Digital Services Planning and Documentation
(Difference between revisions)
Jump to: navigation, search
(Added When do you need an OCR List?)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
'''''NOTE: These instructions apply only to legacy collections which use the [[TrackingFiles]] model of log data, rather than integrating log data with the metadata spreadsheet until upload. For most collection, see [[Tracking Data]] for marking items as needing OCR.'''''
 +
 +
 
'''When do you need an OCR List?'''
 
'''When do you need an OCR List?'''
  
When any of the content in the current upload is typewritten (versus handwritten).
+
*When any of the content in the current upload is typewritten (versus handwritten).
 
   
 
   
When you can do without creating an OCR List:
+
'''When you can do without creating an OCR List?'''
 +
 
 
*If NONE of the items are typewritten, you can tell the makeJpegs script that there are no items to OCR. (Upon not finding the ocrList.txt file, it will ask you if you want to OCR anything. You will tell it no.)
 
*If NONE of the items are typewritten, you can tell the makeJpegs script that there are no items to OCR. (Upon not finding the ocrList.txt file, it will ask you if you want to OCR anything. You will tell it no.)
 
*If ALL the of items are typewritten, you can ask the makeJpegs script to OCR everything. (Upon not finding the ocrList.txt file, it will ask you if you want to OCR anything. You will tell it yes, then choose the option to OCR the entire content of the upload.)  
 
*If ALL the of items are typewritten, you can ask the makeJpegs script to OCR everything. (Upon not finding the ocrList.txt file, it will ask you if you want to OCR anything. You will tell it yes, then choose the option to OCR the entire content of the upload.)  
 
  
 
'''How to create an OCR List'''
 
'''How to create an OCR List'''
  
# Open the collection's TrackingFiles log file
+
# Open the collection's metadata spreadsheet (before we've exported our tracking data)
# For the files you are uploading, copy those rows to a new spreadsheet
+
# COPY (DO NOT CUT) the columns ''Filename'' and ''OCR?'', and PASTE to a new sheet
# In the new spreadsheet, delete all columns EXCEPT: ''Filename'' and ''OCR?''
+
#* The ''OCR?'' column should be filled in with 1 or 0 for each item (1=yes to OCR, more than half of the item is typewritten, 0=no to OCR)
#* This will results in a two-column list, with only one filename per line -- which is what the script is looking for
+
#* If it isn't, take the time to look over the items and fill in that column
#* ''OCR?'' should be filled in with 1 or 0 for each item (1=yes to OCR, more than half of the item is typewritten, 0=no to OCR)
+
# Delete the header row
#* If it isn't, take the time to look over the items in Bridge and fill in that column
+
# This will result in a two-column list, with no header row and only one filename per line -- which is what the script requires
# Save as tab delimited file called [collection number].ocrList.txt  
+
# Save the new sheet as tab delimited file
#* Example: u0003_0001577.ocrList.txt
+
#* Format: [collnum].ocrList.txt  
 +
#* Example: u0003_0001823.ocrList.txt
 
# Put in collection's Admin folder (in Digital_Coll_Completed directory, of course!)
 
# Put in collection's Admin folder (in Digital_Coll_Completed directory, of course!)
 +
 +
'''OCR List for batches'''
 +
 +
Follow the steps above, except...
 +
 +
2. Limit the data to just the batch; here are a couple of different ways to do that
 +
* in the original spreadsheet, select to copy only the part of the columns that pertain to the batch
 +
* in the new sheet, delete the parts of the columns that aren't part of the batch
 +
5. Add the batch number to the filename
 +
* Format: [collnum].[batchnum].ocrList.txt
 +
* Example: u0003_0001577.32.ocrList.txt
 +
 +
'''What the makeJpegs script does with an OCR List'''
 +
 +
If any items/files that list are already online, the script will look for the tiffs in the archive, look for existing text files in Acumen - and if it finds the former and not the latter, it will OCR the tiff and place it in Acumen.  For the content in the ocrList which is currently being uploaded, the OCR will be placed in the UploadArea/ocr directory.  For content not found, there will be a list of the unlocated TIFFs in the output file.

Latest revision as of 07:54, 6 June 2013

NOTE: These instructions apply only to legacy collections which use the TrackingFiles model of log data, rather than integrating log data with the metadata spreadsheet until upload. For most collection, see Tracking Data for marking items as needing OCR.


When do you need an OCR List?

  • When any of the content in the current upload is typewritten (versus handwritten).

When you can do without creating an OCR List?

  • If NONE of the items are typewritten, you can tell the makeJpegs script that there are no items to OCR. (Upon not finding the ocrList.txt file, it will ask you if you want to OCR anything. You will tell it no.)
  • If ALL the of items are typewritten, you can ask the makeJpegs script to OCR everything. (Upon not finding the ocrList.txt file, it will ask you if you want to OCR anything. You will tell it yes, then choose the option to OCR the entire content of the upload.)

How to create an OCR List

  1. Open the collection's metadata spreadsheet (before we've exported our tracking data)
  2. COPY (DO NOT CUT) the columns Filename and OCR?, and PASTE to a new sheet
    • The OCR? column should be filled in with 1 or 0 for each item (1=yes to OCR, more than half of the item is typewritten, 0=no to OCR)
    • If it isn't, take the time to look over the items and fill in that column
  3. Delete the header row
  4. This will result in a two-column list, with no header row and only one filename per line -- which is what the script requires
  5. Save the new sheet as tab delimited file
    • Format: [collnum].ocrList.txt
    • Example: u0003_0001823.ocrList.txt
  6. Put in collection's Admin folder (in Digital_Coll_Completed directory, of course!)

OCR List for batches

Follow the steps above, except...

2. Limit the data to just the batch; here are a couple of different ways to do that

  • in the original spreadsheet, select to copy only the part of the columns that pertain to the batch
  • in the new sheet, delete the parts of the columns that aren't part of the batch

5. Add the batch number to the filename

  • Format: [collnum].[batchnum].ocrList.txt
  • Example: u0003_0001577.32.ocrList.txt

What the makeJpegs script does with an OCR List

If any items/files that list are already online, the script will look for the tiffs in the archive, look for existing text files in Acumen - and if it finds the former and not the latter, it will OCR the tiff and place it in Acumen. For the content in the ocrList which is currently being uploaded, the OCR will be placed in the UploadArea/ocr directory. For content not found, there will be a list of the unlocated TIFFs in the output file.

Personal tools