inversehaar icon indicating copy to clipboard operation
inversehaar copied to clipboard

Haar Cascade Inverter

Haar Cascade Inverter

Script to invert an OpenCV Haar cascade. For example, when passed a cascade file that would normally detect human faces in an image, it will instead generate an image of a human face.

See this blog post for an overview of how the code works.