Note that there are some explanatory texts on larger screens.

plurals
  1. PORemove image background(ID Card) and prepared it for OCR
    primarykey
    data
    text
    <p>I want to integrate OCR in an iOS application. I have found some helpful tutorials, specially <a href="http://tinsuke.wordpress.com/2011/11/01/how-to-compile-and-use-tesseract-3-01-on-ios-sdk-5/" rel="nofollow noreferrer">This Article: How To: Compile and Use Tesseract (3.01) on iOS (SDK 5)</a>, helped me a lot. Now I can read plain text from any image which has a clear background. But I want to read information from an ID card which doesn't have clear background at all!</p> <p>I have also found some answers regarding removing background in stackoverflow, for example: <a href="https://stackoverflow.com/questions/9398374/prepare-complex-image-for-ocr">Prepare complex image for OCR</a>, <a href="https://stackoverflow.com/questions/14224995/remove-background-color-or-texture-before-ocr-processing">Remove Background Color or Texture Before OCR Processing</a> and <a href="https://stackoverflow.com/questions/10255013/how-to-use-opencv-to-remove-non-text-areas-from-a-business-card">How to use OpenCV to remove non text areas from a business card?</a></p> <p>But those solutions are not for iOS. I understand the steps, but I need an iOS example and if it is using Core Image, than it would be better for me.</p> <p>I have no problem in OCR end, but my problem is to remove the background.</p> <p>Initial Image:</p> <p><img src="https://i.stack.imgur.com/6IJoo.jpg" alt="Need to remove the background"></p> <p>After removing, the image should look like this:</p> <p><img src="https://i.stack.imgur.com/FVSTX.png" alt="after removing the background"></p> <p>Can you refer me an iOS example? or Is it possible to refer me an iOS example to remove all the color without Black color?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload