aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Matching patterns in a JPEG file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Matching patterns in a JPEG file" Watch "Matching patterns in a JPEG file" New topic
Author

Matching patterns in a JPEG file

Sudharsan Govindarajan
Ranch Hand

Joined: Jul 03, 2002
Posts: 319
Hi!
Is there a way to match a definite pattern in a JPEG file given the original image and the image pattern to be matched. Also I would like to know whether there is a way to recognize the text in a image file?
Am I ambitious?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
Yes, you are ambitious, but image processing and text recognition are possible in Java. However, you will have to deal with the pixels of a fully expanded image from the JPG. The compression in a JPG would make it very hard to find patterns.
The "Machine Learning / Artificial Intelligence" area that covers such tasks is HUGE. To get you started, here is a link to a recent survey:
http://www.developer.com/java/other/article.php/1559871
The following site has Java code
http://www.cs.waikato.ac.nz/~ml/weka/index.html
There are many many more, this is a very active area.
Bill
Sudharsan Govindarajan
Ranch Hand

Joined: Jul 03, 2002
Posts: 319
Thanks for those links Bill! Seems to be a big and time-eating task. If there are any implementation efforts already, that would be helpful
sudharsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Matching patterns in a JPEG file