Click here to Skip to main content
15,918,516 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There is a situation:

1.Lots of Square and Cricle and Triangle make up an image.Some of the shapes have intersection,Some not.they are not have the same direction except Cricle.

2.Then I want check out the number of Triangle(or Cricle or Square).

3.Is there any methods? thanks.
Posted

A simple neural network[^] might be what you are looking for to identify shapes. You might want to read this[^] first to see if it serves your purposes.
 
Share this answer
 
Comments
Gary.Zhang.2020 26-Aug-10 2:45am    
Thank you for the message,I have seen the article you told me, I'm studying it now,thanks.
There's no 'methods', no. You need to write a lot of code to do that. You basically need to work out how to identify each object, the most simple way to do this is simply to access the bits of the image and look for lines and see if they make the shapes you imagine, but the fact that they intersect will complicate even that.

This sounds more like homework than a real business need - is that right ? Do you have reference books, or a teacher you can ask for help ?
 
Share this answer
 
Comments
Gary.Zhang.2020 26-Aug-10 2:41am    
Thank you so much,your msg is very useful for me,I'm just graduate form a University ,and hunt a job in a company, I have a red tape task everyday that is count the shape's number form a architectural drawing,It takes lots of my time to do this no-technology things,I can't accumulation more technology,so I want design a software to help me....
Thank you so much.I will try your suggesstion.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900