Ask Your Question
0

How can I limit the detection of squares to a limited field in the Mat frame?

asked 2016-09-05 13:10:24 -0600

j0h gravatar image

I would like to detect squares in a limited field of a detected frame, such as the first 200 pixels. I see the squares example, and have a general idea that I might only process squares that in the far left by specifying some maximum x-cordinate. I'm wondering if there are any functions I can make use of, to do this, or how I might set limits on the frame to be interpreted.

OpenCV, and computer vision newbie here

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-05 19:55:02 -0600

Tetragramm gravatar image

Well, if you look in the Tutorials, the very first one has the example of how to refer to just a subsection of the matrix.

Most of your basic questions are answered there.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-09-05 13:10:24 -0600

Seen: 174 times

Last updated: Sep 05 '16