title: Using Java & BoofCV to detect shapes in an image file
body: <p>I've not found anything here or on google. I'm looking for a way to identify shapes (circle, square, triangle and various other shapes) from a image file. Some examples:</p>
  
  <p><img src="https://i.stack.imgur.com/OyJYG.png" alt="filled circle"> <img src="https://i.stack.imgur.com/DXOZz.png" alt="unfilled triangle"> <img src="https://i.stack.imgur.com/kgnbv.png" alt="crosses"><img src="https://i.stack.imgur.com/YAVGm.png" alt="quadrant filled square"> <img src="https://i.stack.imgur.com/yapq4.png" alt="multiple shapes"> <img src="https://i.stack.imgur.com/OYpnE.png" alt="multiple shapes pac"></p>
  
  <p>You get the general idea. Not sure if BoofCV is the best choice here but it looks like it should be straightforward enough to use, but again I know nothing about it. I've looked at some of the examples and I though before I get in over my head (which is not hard to do some days), I thought I would ask if there is any info out there.</p>
  
  <p>I'm taking a class on Knowledge Based AI solving Ravens Progressive Matrix problems and the final assignment will use strictly visual based images instead of the text files with attributes. We are not being graded on the visual since we only have a few weeks to work on this section of the project and we are encouraged to share this information. SOF has always been my go to source for information and I'm hoping someone out there might have some ideas on where to start with this... </p>
  
  <p>Essentially what I want to do is detect the shapes (?? convert them into 2D geometry) and then make some assumptions about attributes such as size, fill, placement etc, create a text file with these attributes and then using that, send it through my existing code based that I wrote for my other projects to solve the problems.</p>
  
  <p>Any suggestions????</p>