Page 1 of 1
Java code to check if a text is present in an image
Posted: 2016-05-26T22:19:48-07:00
by nayankankaria
Hi All,
Can anyone please help know if I can check if some text is available in an image. I want this to be written in Java.
-Nayan
Re: Java code to check if a text is present in an image
Posted: 2016-05-26T22:29:54-07:00
by fmw42
Imagemagick is a raster processor. I think you need to do OCR, which is not part of Imagemagick. If I misunderstand your question, please provide more details. Also your IM version and platform. If Java is needed, then you would need to use one of the Java APIs. See
http://www.imagemagick.org/script/sitem ... interfaces
Re: Java code to check if a text is present in an image
Posted: 2016-05-26T23:44:46-07:00
by nayankankaria
Thanks for the reply fmw42. Yes you said it right, I want to implement OCR in java. Can you please help.
-Nayan
Re: Java code to check if a text is present in an image
Posted: 2016-05-26T23:47:43-07:00
by fmw42
Sorry, IM does not do OCR and I have no experience with OCR tools. Look into Tesseract.
Re: Java code to check if a text is present in an image
Posted: 2016-05-27T01:21:08-07:00
by nayankankaria
What is IM you are referring to ?
-Nayan
Re: Java code to check if a text is present in an image
Posted: 2016-05-27T06:02:39-07:00
by snibgo
IM = ImageMagick.