Detecting blank scans
Posted: 2008-12-22T08:04:37-07:00
I have a bunch of scans of the back sides of old photos. Some of them have handwritten notes; many are blank.
Is there a way to run them through IM and get some kind of report back to distinguish the blank ones from the nonblank ones?
Complication #1: many of the photos have a line or 2 of data printed by the photofinisher on the back, typically in a rather crude dot matrix font.
Complication #2: some of them have discolored patches or stains.
Complication #3: often the notes are written very lightly in pencil; readable to the eye but pretty low in contrast.
Enhancement: could IM generate a compressed, contrast-enhanced JPEG of nonblank images it finds? Readability and small file size are more important than image fidelity.
My idea was to assume that blank images would compress better than nonblank ones, and use the file size of the compressed image to tell whether it was blank or not.
Thanks.
Is there a way to run them through IM and get some kind of report back to distinguish the blank ones from the nonblank ones?
Complication #1: many of the photos have a line or 2 of data printed by the photofinisher on the back, typically in a rather crude dot matrix font.
Complication #2: some of them have discolored patches or stains.
Complication #3: often the notes are written very lightly in pencil; readable to the eye but pretty low in contrast.
Enhancement: could IM generate a compressed, contrast-enhanced JPEG of nonblank images it finds? Readability and small file size are more important than image fidelity.
My idea was to assume that blank images would compress better than nonblank ones, and use the file size of the compressed image to tell whether it was blank or not.
Thanks.