Replace rectangle with image.
in
Programming Questions
•
1 year ago
Hi all! Since I'm having no luck with my previous
topic on eye tracking, I thought I could maybe get some help on this.
I'm a beginner at Processing and working with OpenCV to recognize a face in this case via webcam, and when it sees a face, it draws a rectangle on this face.
Now instead of that, I want an image to be displayed on the face (it doesn't need to be automatically scaled or something, just to be placed on top of the face is all I'm trying to do for now). I have no idea how to do that though, I only know how to import an image, that's all.
This is my code. Sorry for using a link by the way, but when I paste something in here, it loses all its markup.
1