P
P
Pavel K2015-09-20 01:55:22
C++ / C#
Pavel K, 2015-09-20 01:55:22

What shape to make "labels" for recognition using OpenCV?

Greetings!
In general, the task was to recognize marks on a sheet of paper from the camera,
I would like to know if anyone had experience, what form of marks are better recognized?
the marks themselves should be no more than 6 mm
. I saw both a circle in a circle and a square in a square and just a crosshair
. it will be easier to find.
Well, suddenly there is already an implementation of such recognition - I will be glad!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel K, 2015-09-20
@PavelK

In general, I tried a square in a square, like a Qr code, it is
recognized remarkably!
Algorithm for OpenCV - we are looking for contours, we are looking for closed contours, we find where the contour is in the contour (you can also check that this is a square), we calculate the area of ​​\u200b\u200bthe outer and inner ones and look at the ratio.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question