Greg- I need to do some research to be sure, but I think we can get the page count out of the scanner. That would probably require you to call scanimage an extra time after each batch, and perhaps add a new option to reset the page counter with the start of each batch, if the scanner does not do that automatically.
allan On Fri, May 15, 2015 at 11:35 AM, m. allan noah <kitno...@gmail.com> wrote: > Then it sounds like your doc store should contain the images, just with > the old filename, or missing the pdf tag? Can you search for them there? > > allan > > On Fri, May 15, 2015 at 10:46 AM, Greg Kontos <gkon...@myinnovativelab.com > > wrote: > >> Hi Allan, >> >> >> >> As far as I can tell, ABBYY passes the files through without successfully >> parsing them. All the files that go through ABBYY end up in a processed >> folder. The trouble is that ABBYY looks at the files for a barcode and >> doesn’t always find the barcode. After processing, ABBYY renames (or adds >> some pdf metatag to) the files based on the barcode and passes it to a >> document management application. It’s the point between ABBYY and our >> document management where we lose track, but it’s ABBYY that’s not finding >> the barcodes. >> >> >> >> Thanks, >> Greg >> >> >> >> *From:* m. allan noah [mailto:kitno...@gmail.com] >> *Sent:* Friday, May 15, 2015 10:22 AM >> *To:* Greg Kontos >> *Cc:* sane-devel@lists.alioth.debian.org >> *Subject:* Re: [sane-devel] How can I get a count of pages scanned by >> scanimage using batch mode? >> >> >> >> Greg- Does ABBYY just eat the images it cannot process, or does it >> silently pass them thru without parsing them? It really seems like they >> should be able to tell you... >> >> allan >> >> >> >> >> >> Greg Kontos >> LIMS Integration Specialist >> >> Innovative Diagnostic Laboratory >> 8751 Park Central Drive, Suite 200 >> Richmond, VA 23227 >> Phone: (804) 261-3340 ext.1846 >> Cell Phone: >> Fax: (804) 515-7291 >> gkon...@myinnovativelab.com >> >> Visit our website: www.myinnovativelab.com >> >> >> >> CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, >> files or previous e-mail messages attached to it contain confidential >> and/or privileged information meant for the listed recipient(s) only. You >> may not distribute or share this correspondence without written >> authorization from the above author. >> >> If you are not the intended recipient, or a person responsible for >> delivering it to the intended recipient, you are hereby notified that any >> disclosure, copying, distribution or use of any of the information >> contained in or attached to this transmission is STRICTLY PROHIBITED. If >> you have received this transmission in error, please immediately notify me >> by reply e-mail and destroy the original transmission and its attachments >> without saving them in any manner. >> >> On Fri, May 15, 2015 at 9:34 AM, Greg Kontos < >> gkon...@myinnovativelab.com> wrote: >> >> Hello, >> >> >> >> First off, thank you. The sane project has been easy to use and install >> with boat loads of documentation and examples online. The sane driver for >> our scanner lets us use these scanners more effectively than the available >> windows drivers. >> >> >> >> I’d like to push a little further and count pages that do not get the >> number of pages scanned with the number of pages processed by our image >> processing software (ABBYY). Unfortunately, we haven’t been able to find a >> hook in the image processing software that allows us to count >> un-processable images. So, I’m hoping to leverage scanimage and scanb to >> count of the number of pages scanned and compare it to the number of pages >> successfully processed in order to ensure documents aren’t missed. >> >> >> >> A little about our setup. We are using fujitsu fi-7160 scanners with the >> 1.0.25 sane backend. I’m currently using scanbd to trigger the scanimage >> task. The scanimage task is using the batch mode to use the adf >> functionality of the scanner. The files created by scanimage are sent >> directly to ABBYY for processing. >> >> >> >> Scanbd runs a script to trigger the scanimage task. What I would like to >> do is to add something to this script which captures the number of pages >> scanned. I would then add this number to a file and create a counter. >> I’ve looked through the options available in scanimage –d –A as well as >> scanimage –d –help and I do not see anything that would accomplish this >> directly. The scanner’s display lists the number of pages scanned, but I >> suppose the driver doesn’t access this information. It looks I have two >> options available 1. parse the log files, or 2. drop the files into a >> triage folder where they can be counted before moving to processing. I’d >> like to implement something that’s more stable than reading log files, and >> doesn’t involve the processing overhead of moving files multiple times. >> >> >> >> Thank you for any advice, >> >> G Kontos >> >> >> >> Greg Kontos >> LIMS Integration Specialist >> >> Innovative Diagnostic Laboratory >> 8751 Park Central Drive, Suite 200 >> Richmond, VA 23227 >> Phone: (804) 261-3340 ext.1846 >> Cell Phone: >> Fax: (804) 515-7291 >> gkon...@myinnovativelab.com >> >> Visit our website: www.myinnovativelab.com >> >> [image: cid:image001.png@01D08EFC.107D8A30] >> >> CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, >> files or previous e-mail messages attached to it contain confidential >> and/or privileged information meant for the listed recipient(s) only. You >> may not distribute or share this correspondence without written >> authorization from the above author. >> >> If you are not the intended recipient, or a person responsible for >> delivering it to the intended recipient, you are hereby notified that any >> disclosure, copying, distribution or use of any of the information >> contained in or attached to this transmission is STRICTLY PROHIBITED. If >> you have received this transmission in error, please immediately notify me >> by reply e-mail and destroy the original transmission and its attachments >> without saving them in any manner. >> >> >> >> -- >> sane-devel mailing list: sane-devel@lists.alioth.debian.org >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> to sane-devel-requ...@lists.alioth.debian.org >> >> >> >> >> -- >> >> "well, I stand up next to a mountain- and I chop it down with the edge of >> my hand" >> >> >> > > > -- > "well, I stand up next to a mountain- and I chop it down with the edge of > my hand" > -- "well, I stand up next to a mountain- and I chop it down with the edge of my hand"
-- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org