Redact Phone Numbers on 60,000+ Scanned TIFs

B
Posted By
Bob
Mar 22, 2006
Views
670
Replies
9
Status
Closed
I have been given the task of figuring out a way to redact (i.e. block-out) phone numbers from about 60,000 + scanned documents.

I can do this using most image editors one image at a time but would like to
find a way to make the process more efficient (scripted). Most of the numbers are
in the same general position on the scans but given that the docs were scanned over a period of 3 years by different people, there are several "batches" at different resolutions, etc.

Anyway…

The 60,000+ TIF’s are in 84 folders. I need to somehow:

1. Open the first TIF
2. Ask the user to select the area they would like to redact (i.e. phone number)
3. Black-out the user selected area
4. Save with same filename (maybe overwrite), close and load the next TIF

Ideally, #2 would be the only user-click/input.

Does anyone know how to script this in Photoshop? I know a respectable amount of VBA but never used it to interface w/ Photoshop.

Thanks!

Bob

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

LS
Larry Scripts
Mar 22, 2006
What version of Photoshop are you using?

Larry
B
Bob
Mar 22, 2006
Thanks for the quick response!

I have Version 7 (personal copy)… My agency will spring for the latest version if this is possible.

Bob
BM
bob_miller
Mar 22, 2006
In article wrote:
: I have been given the task of figuring out a way to redact (i.e. : block-out) phone numbers from about 60,000 + scanned documents.

The thought of *looking at* 60,000 pages of gobbledygook for phone numbers is so horrible to contemplate I’m suprised you wouldn’t consider a customized OCR application which could find the strings of characters consistent with a phone number and return the bounding boxes of the same to drive a PS action.

Bob Miller
LS
Larry Scripts
Mar 23, 2006
Bob,
I can’t do this in Photoshop 7. I can write a script for CS and CS2.

Is this text on a text layer? It is embedded in the photo, right?

Will the selected area always be filled with black?

Let me know what version you upgrade to.

Larry
B
Bob
Mar 23, 2006
Larry,

The TIFs are flat…. no layers. The selected area will always be filled black.

So what will I need to run the script? Forgive me, I’m not familiar w/ CS or CS2. Are those acronyms?
LS
Larry Scripts
Mar 23, 2006
Bob,
Photoshop CS is version 8 of Photoshop. Photoshop CS2 is version 9 of Photoshop. Photoshop CS2 is the latest version of Photoshop.
LS
Larry Scripts
Mar 23, 2006
Bob,
Here is a JavaScript that will work in Photoshop CS or CS2.

http://home.comcast.net/~larryscripts/Photoshop_CS/Redact_se lection.ZIP

The ZIP file contains a ReadMe.txt file that tells you how to use the script.

If you have any troubles, let me know.

Larry
D
Dave
Mar 23, 2006
Larry Scripts wrote:
Bob,
Here is a JavaScript that will work in Photoshop CS or CS2.
http://home.comcast.net/~larryscripts/Photoshop_CS/Redact_se lection.ZIP
The ZIP file contains a ReadMe.txt file that tells you how to use the script.
If you have any troubles, let me know.

If that doesn’t work and you’ve got a budget to accomplish it, try this:

http://www.stellent.com/en/products/imaging_bpm/capture/inde x.htm

It can perform character recognition of scanned docs or designated portions of the docs – even reads bar codes.

Dave

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. – Douglas Adams
B
Bob
Mar 24, 2006
Fantastic! Thank you both.

I’ll post back my results… Hopefully a success story!

Bob

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections