Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Face Detector #96

Open
tanmay-bhatnagar opened this issue Aug 15, 2019 · 3 comments
Open

Custom Face Detector #96

tanmay-bhatnagar opened this issue Aug 15, 2019 · 3 comments

Comments

@tanmay-bhatnagar
Copy link

Can we fine tune the face detector or perhaps use our own ?

@dpressel
Copy link
Owner

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

@ucasiggcas
Copy link

I know this ,but not easy as you said

@dpressel
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants