Undo Immage Processing

  • Last Post 15 January 2019
  • Topic Is Solved
Michael Foster posted this 10 January 2019



I am working on a workflow for a customer which uses scripting to detect vehicle registration numbers and penalty charge notice numbers from scanned documents. This works fine for most of the sample documents, but one document fails unless I apply some immage processing filters to the documents. When I do this, the numbers are detected perfectly, but I'm worried that the overall quality of the document, after the filters are applyed, is not good enough for the customer.

Is it possible to remove filters / reset the document to its orriginal quality after it has been processed by a script module?

I have provided a snipped from the original document to show the original quality and why the filters need to be applied.

The regex used to detect the number is ".*()(\b[A-Z]{2}[0-9]{8}\b|\b[0-9]{6}\/[0-9]{6}\b"

Attached Files

luca.scarpati posted this 15 January 2019

Hi Mike,


if you look in our forum you will find a post that talks how to output the original document without the filters that in  your case used for the "script" ... The post does a reading of barcodes, but your case is working the same way and the script to get the original output file is always the same. You find it in this post: https://forum.scanshare.com/thread/not-all-barcodes-recognized/  


Please let us know if you need any more info innocent.


Best regards,