Giter Club home page Giter Club logo

Comments (10)

auduno avatar auduno commented on September 25, 2024

It should work on browsers without WebGL as well, but the tracking might be a bit slower.

from clmtrackr.

45kb avatar 45kb commented on September 25, 2024

@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.

45kb avatar 45kb commented on September 25, 2024

@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.

auduno avatar auduno commented on September 25, 2024

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.

45kb avatar 45kb commented on September 25, 2024

@auduno thank you a lot 👍

from clmtrackr.

45kb avatar 45kb commented on September 25, 2024

@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.

auduno avatar auduno commented on September 25, 2024

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.

45kb avatar 45kb commented on September 25, 2024

@auduno clear now thank you! Sorry for bothering you

from clmtrackr.

gopendra-dwivedi avatar gopendra-dwivedi commented on September 25, 2024

@auduno Hi,

Can i use this for other object detection like hand and how?

from clmtrackr.

auduno avatar auduno commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.