views:

319

answers:

1

I'm looking for a shape recognition tool for Java. In particular, I'd like to find a Java library that given an image file (in jpeg, bmp, gif or any common image file format) gives me information about the regular shapes (rectangles, lines, ...) found in the picture and their coordinates.

In previous questions on this topic I've seen recommendations for C# but I'm unable to find any implementation in Java.

Hope somebody can help me!

+1  A: 

Have you taken a look at OpenCV? I believe there are Java wrappers for it. What exactly are you trying to accomplish?

Ronald
I just want to retrieve, for instance, the rectangles in a given image. Basically, the idea is that the image would be a picture of a whiteboard in which people would have drawn the rectangles (and square, circles and other similar figures) by hand.
Jordi Cabot