First time here? Check out the FAQ!

Ask Your Question
0

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

asked Sep 5 '16

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

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Sep 6 '16

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.

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Sep 5 '16

Seen: 195 times

Last updated: Sep 05 '16