fill function for negative space

edited August 2018 in How To...

Hi there, I'm looking for a simple way to fill the space AROUND a shape rather than the space WITHIN a shape.

Ideally I'm wanting this function so that when I use OpenCV on a webcam feed, processing puts a square around the face and then blocks out the rest of the image with a sold fill. So all you can see is the image inside the shape.

Increasing the stroke does not do this.

Any help greatly received!

Thanks

Answers

Sign In or Register to comment.