Is it possible to run a Body Cascade inside a non-slagging sub-area?

Asked

Viewed 15 times

0

after studying a little and the help of well-oriented people here understood that Opencv manipulates images (an array) that will always be rectangular. Therefore, an ROI will never be polygonal.

I would like to know if it is possible to apply a Body Cascade (people detector) in a sub-region of the image in a non-rectangular shape.

For example, in the image (https://imageshack.com/i/pm4a4PzCj) I have a video being shot and when applying the body Cascade it detects "all people" in the image. My question is:

And if the region of interest were a nonrectangular shaped subregion, as shown in the image (https://imageshack.com/i/pmzMUm2sj). It is possible to run Body Cascade only within this area in red (a non-rectangular area)?

So far I haven’t been able to find a solution to this problem =(. Any help is welcome. Thank you!

  • Felipe, my dear, I’ve already explained countless times that that you says that want to make no sense! I will say one more: there is no how to limit the execution of Cascade to a region that is not rectangular, simply because the algorithm expects an image (which is inherently rectangular). What you want to do is limit the detection of people only in the demarcated region, and the answer I’ve already given you There in your other question.

  • I made an issue there in your original question to try to make it clear this time. And I voted this as a duplicate of that.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.