OpenCV Sharp and Unity help (making detected facial features interactive)


I’m trying to develop a game that requires the detection of facial features of a selfie (eyes, nose, mouth) and after that, have those features move around the screen (separate from the original image). So imagine you take a selfie, your eyes are identified and then they start flying around off your face.

I’ve gotten the detection down using OpenCV sharp, I just have no idea how to move to the next part??? Can I use the ROI’s to form groups of pixels on the Texture2D and modify those?

Anybody have any ideas?

Appreciate the help!

I am currently looking at something like this: texture2D → Sprite

Where I can convert parts of a texture2D to a Sprite.