Comments (10)
It should work on browsers without WebGL as well, but the tracking might be a bit slower.
from clmtrackr.
@auduno ok thanks :) i am testing the lib on cordova / phonegap , i notice one thing:
iOS safari v.8 detected all the faces in pics
while android 4.1 browser do not detect the same faces in the same pics.
I don't have errors, so i tought it was a matter of webGL, since android doesn't support webGL.
Anyway, thank you i will try to debug better :)
from clmtrackr.
@auduno Hi, sorry for interrupting again, i just copied your example (http://auduno.github.io/clmtrackr/clm_image.html) and all the scripts, i find hard to understand which scripts are needed and which not, actually i just need to recognize faces in photos whitout watermarking/overlaying or modify on the photo.
Just to be sure, can you just tell me which of these files aren't needed for the scope:
utils.js
numeric-1.2.6.min.js
mosse.js
jsfeat-min.js
frontalface.js
jsfeat_detect.js
left_eye_filter.js
right_eye_filter.js
nose_filter.js
model_pca_20_svm.js
clm.js
svmfilter_webgl.js
svmfilter_fft.js
mossefilter.js
Stats.js
Thank you and sorry again
from clmtrackr.
If you're just looking to detect faces, you should actually just use jsfeat (which is not my library). I've created a wrapper for jsfeat, jsfeat_detect.js, which makes it a bit simpler to use, so you could take a look at that. So you'd just need the files jsfeat-min.js and jsfeat_detect.js.
from clmtrackr.
@auduno thank you a lot 👍
from clmtrackr.
@auduno Sorry i am here again, i wanted just to ask you one last thing if possible, i included the jsfeat.min.js and the jsfeat_detect.js so i did:
var f = new jsfeat_detect(document.getElementById('canvas'));
f.findFace();
console.log(f);
It works and i get a returned Object in console, which contains data like (confidence, x, y etc..), but i don't understand how to check this data to match a face, may i ask you how you did check this?
Thank you and sorry again
from clmtrackr.
The position of the detected face is given by a box with coordinate of top left corner at (x, y) and coordinate of bottom right corner at (x+width, y+height), where the data x, y, width and height is given by the returned object. The returned data "confidence" tells us a score of how sure we are that there is a face in the bounding box, higher scores are better.
Note that in jsfeat_detect.js I only return one face even if there are many faces in the image, I only choose the bounding box with highest confidence score.
from clmtrackr.
@auduno clear now thank you! Sorry for bothering you
from clmtrackr.
@auduno Hi,
Can i use this for other object detection like hand and how?
from clmtrackr.
Yes, probably, but you'll have to train your own model of the hand using for instance clmtools. For tracking hands, I think it's better to take a look at js-objectdetect since it contains a ready-to-go model of hand tracking.
from clmtrackr.
Related Issues (20)
- Is it possible to change the color of the green lines? HOT 2
- Camera stream freezes once the clmtrackr detects a face (MacOs Mojave, Safari) HOT 9
- Is it possible to detect only the smile? HOT 1
- Video gets laggy on Safari for iOS HOT 1
- Alert Android9 Browser Face Deformer.
- detect_multi_scale TypeError HOT 2
- T
- ERR_SSL_PROTOCOL_ERROR HOT 2
- Problems on webpack and Symfony installation HOT 7
- jsfeat module is not defined HOT 5
- Unable to stop the tracker once started
- how improve the emotion detector
- Detect eye blink HOT 1
- How to stop the shaking on the mask
- Show a cap on head HOT 1
- Issue in Android Mobile
- Bug: Image tracking on mobile gives very bad results HOT 1
- High resolution error
- hide fps
- Nose slimming effect?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clmtrackr.