rude-carnie
rude-carnie copied to clipboard
Custom Face Detector
Can we fine tune the face detector or perhaps use our own ?
Yeah, you can use your own by subclassing:
https://github.com/dpressel/rude-carnie/blob/master/detect.py#L5
It currently requires a small tweak to the code base. Basically subclass in detect.py and then in utils.py
, edit this function to include your new class:
https://github.com/dpressel/rude-carnie/blob/master/utils.py#L167
I know this ,but not easy as you said
Im not sure how it actually could be any easier. I could make it a plugin but that adds complexity to the program. Subclassing is intuitive, the interface is quite simple and the factory method comes down to adding a key. Unclear what would be easier