15,918,516 members
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

## Solution 2

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.

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.

## Solution 1

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 ?

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.