OpenCV.js : image recognition in video capture
Hi
I’m working for the first time with OpenCV.js, as well as everything wich has with image to do. I’m trying to detect an image in a webcam video flow. Exactly like face detection in this example Face detection in video capturel , I think that I more or less understood what I have to do, but I don’t get it together. It should be possible to do template matching which video instead for a still image; or object detection with something else than haar cascade. Do you know some tuts which could help me? Thanks.
already +1 for reading tutorials ;)
there is another, cnn based js example, that does face detection and recognition. it's somewhat advanced, but you could use the detection part of it with other pretrained models to e.g. detect cars, or dogs, etc. you could even train your own !
there is template matching, too, but it does not work well with video, due to being sensitive to pose/rotation.
Thank you for the answers. I see that the face detection and recognition script uses utils.js ? I found several of them in the web. What is it exactly? EDIT : Well : I used the same url than opencv.js and it seems to work :
^^ yes, please use the js scripts from the master docs (those will be "latest version" nightly builds) !