W
W
win_er2017-10-20 16:06:20
OpenCV
win_er, 2017-10-20 16:06:20

OpenCV on a sheet of paper there is a rectangle with a dot inside, need to convert the image to a matrix view?

OpenCV on a sheet of paper has a rectangle with a dot inside, you need to convert the image to a matrix view.
So that the elements of the matrix are zeros and ones. The units are the outline of the rectangle and the point.
The bottom line is that I need to link the distance from the edge of the sheet to the rectangle and the number of pixels from the edge of the sheet to the rectangle.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question