-
Notifications
You must be signed in to change notification settings - Fork 209
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
Added Face detection Module #1597
base: main
Are you sure you want to change the base?
Conversation
@publiclab/is-reviewers |
@ataata107 why are the tests failing? |
color = 'rgba(20,20,20,1)'; | ||
color = color.substring(color.indexOf('(') + 1, color.length - 1); // Extract only the values from rgba(_,_,_,_) | ||
color = color.split(','); | ||
fetch(cascadeurl).then(function(response) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe because of this the tests are failing, also does it work in node?
You could either install fetch for node from npm or use axios.
why is this used anyways?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya this could be the reason, I will try to fetch it locally rather than from internet. It is used to fetch the trained model file which would be used to infer the face location
Codecov Report
@@ Coverage Diff @@
## main #1597 +/- ##
===========================================
+ Coverage 55.11% 65.21% +10.09%
===========================================
Files 117 134 +17
Lines 2344 2757 +413
Branches 360 438 +78
===========================================
+ Hits 1292 1798 +506
+ Misses 1052 959 -93
|
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

This Module doesn't make the use of opencv as discussed
npm run test-all
@publiclab/is-reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!