Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Matching patterns in a JPEG file

 
Sudharsan Govindarajan
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic