V
V
vadim1202019-08-12 23:00:48
Machine learning
vadim120, 2019-08-12 23:00:48

How to do pattern recognition and counting?

I need to count all the objects on the electrical circuit
. What is my problem ... I need to recognize the objects on the circuit, which are always the same, 5d51c0090c5dc721552043.jpegand have a total number, approximately like in the photo, have each individually and in common, and so on for each element 5d51c49b30fe4440795891.jpeg(photo from the Internet), that is, to count individually or all, if possible, from a pdf file, or jpeg.
(in short, then have one image, and use it to count the rest of the similar ones in the diagram, have the exact number)
Help me find some way out, preferably not difficult, since I am a complete zero in this

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2019-08-13
@dimonchik2013

https://docs.opencv.org/master/d4/dc6/tutorial_py_...

U
U235U235, 2019-10-23
@U235U235

I would do something like this in matlab/skylab:
1. Select the green paint layer using color spaces and get a b/w mask.
2. Perhaps I would work with morphological filters, if necessary.
3. Found related bwlabel components and calculated their regionprops properties.
4. Selection of components by area, topology and/or other features invariant to rotations in accordance with templates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question