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
Refactor project to use a Cropper class #88
Conversation
…nd adding more tests for Cropper class
Fixes #47. Still need to update README.md to make this usable by anyone. |
This PR should include pictures for e.g. |
Codecov Report
@@ Coverage Diff @@
## master #88 +/- ##
==========================================
+ Coverage 91.81% 94.38% +2.56%
==========================================
Files 4 5 +1
Lines 220 267 +47
==========================================
+ Hits 202 252 +50
+ Misses 18 15 -3
Continue to review full report at Codecov.
|
Leaves extra work to be done, but it a step forwards |
CLI functionality is left unchanged, but exposes a Python API that takes in a filepath or np.ndarray, and returns an np.ndarray if a face has been detected, or None otherwise.