Content Management and Capture

 View Only
  • 1.  Issue with ID card and passport recognition in IBM Datacap 9

    Posted Fri November 25, 2022 08:59 AM
    Hello community,

    We have some issues configuring a new application for ID card and passport recognition in IBM Datacap 9. We successfully tested the same application for some basic documents (blank document with some information on it), all image processing tasks (i.e. vscan, page ID, recognition and extraction) run without any issue. See the image below.
    Basic Document.PNG

    We tried to process the scanned ID card with different image enhancement methods to make the image more readable and eliminate any noise that could affect the recognition process, but the latest always fails for unknown reasons. See the following figure.
    ID Card2.png
    As we can see, Datacap is unable to detect the zones in the image after running the recognition phase compared to the previous basic document . 

    At this stage we don't know if there is a special configuration that we should follow in order to make the application recognize the document of type ID card and passport.

    Could you please advise us on this issue ?

    Thank you in advance.


    ------------------------------
    Yassine Bounagui
    ------------------------------


  • 2.  RE: Issue with ID card and passport recognition in IBM Datacap 9

    Posted Mon November 28, 2022 12:39 PM
    When you say " different image enhancement methods " is that part of Datacap image enhancement or some third party tool? 
    FP zone failing is because it can't read the text after recog engine was ran.
    Why not add a create text to see if the image texts are detected just to prove a point why the zone failed.  Perhaps it's not reading the text off the image.  


    ------------------------------
    Blue Devil
    ------------------------------



  • 3.  RE: Issue with ID card and passport recognition in IBM Datacap 9

    Posted Mon November 28, 2022 12:57 PM
    Hello Blue Devil,

    Thanks for the reply.

    The image enhancement  has been done through Datacap image enhancement.

    We also tried to rewrite the image text using a third party solution and ensure that the text is still readable after several zooms on the image. The text is not detected despite that. 


    ------------------------------
    Yassine Bounagui
    ------------------------------



  • 4.  RE: Issue with ID card and passport recognition in IBM Datacap 9

    Posted Mon November 28, 2022 01:09 PM
    Make sure the image is in black and white.
    The root cause of your issue is OCR can not recognized the text from your image thus causing issue with down stream task to your zone.
    I would play around with basic black and white image, play around with image enhancement.
    If you can't read the text with your naked eyes, the engine can only do so much.

    ------------------------------
    Blue Devil
    ------------------------------



  • 5.  RE: Issue with ID card and passport recognition in IBM Datacap 9

    Posted Sun December 04, 2022 07:13 AM

    Hello Blue Devil,

    we have tried to implement the suggested best practices but unfortunately, we were not able to make the recognition of text zones in our document.

    Based  a tutorial for application creation, we followed the same steps, and by pure coincidence, the recognition process worked for us without any image enhancements.

    The only difference that exists between what we were doing and what the tutorial is the fingerprints configuration.

    To make the recognition work we have to run our test, and in the phase of page identification we have to pause the test and go to fingerprints configuration and make a refresh. Once it's done, the new scanned image is loaded as new fingerprint but without any zones on it. So, if we redefine our zone in that new fingerprint, and resume the test, the recognition work successfully.

    This configuration work of course that when we enable the "Learn new Fingerprints " option at the "Page Identification" ruleset.

    We tested this configuration for deferent images with different resolutions, the recognition always works.

    At this stage we concluded the following:

    • No image enhancements are needed
    • The main problem with recognition is due to fingerprinting which does not work properly
    • The application is unable to process the fingerprint configuration and presume that it is the same document, then applies the zones configuration that we already defined.

    We note that in order to configure fingerprints for our application, we :

    1. Create a fingerprint class.
    2. Add fingerprint image.
    3. Assign fingerprint to fingerprint class.
    4. Select page type.
    5. Assign zones.

    Could you please advise on this issue?



    ------------------------------
    Yassine Bounagui
    ------------------------------



  • 6.  RE: Issue with ID card and passport recognition in IBM Datacap 9

    Posted Mon December 12, 2022 03:05 PM

    The FingerPrint has it's own algorithm.  If it matches certain percentage that it will match the FP. You can see it in your RRS log. 
    If it can't find the FP, it will create a new FP.  Best to review the native TravelDoc application on how it detect the three page types.   It will have the answer to your FP class  to the page type.   But yes that is how it's done normally.

    Here is the application development to how to create the traveldoc application.  

    https://www.ibm.com/support/pages/ibm-datacap-version-900-publication-library
    https://www.ibm.com/resources/publications/OutputPubsDetails?PubID=SC27-6375-00



    ------------------------------
    Blue Devil
    ------------------------------



  • 7.  RE: Issue with ID card and passport recognition in IBM Datacap 9

    Posted Tue December 13, 2022 03:10 PM
    When you manually create a fingerprint in Datacap Studio, the AddFingerprint ruleset is executed. Make sure the method used to create the cco (fingerprint) in this ruleset is the same method used to create the cco in the application itself. For example, if you are using full page recognition action such as RecognisePageOCR_S when processing your documents then the AddFingerprint should use the same action. If your AddFingerprint ruleset is using AnalyseImage and your document processing rules are using RecognisePageOCR_S then the fingerprint will not match.

    ------------------------------
    Craig Halliday
    ------------------------------