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!