-
Notifications
You must be signed in to change notification settings - Fork 64
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
oo #20
Comments
i'm not sure what is the issue here, it is closed. In any case even if it is for criticism, its ok |
the issue is that your code is not working on any image but the one attached with source !! |
yes this can happen, i say it is not the code, it is the type (and difficulty) of the application. In general image recognition is a very difficult task. Of course if the code has issues, it is good to know. |
Actually there are much better libraries out there , the problem is im trying to detect human neck , never found a cascade for that :( |
You can train a cascade for anything you want, there is a link in the readme of this repo, gather any image samples that cover the feature you need and train one. Well there are of course other js libs like liuliu/ccv (the 1st for face detection in pure js), js-objectdetect and jsFeat which cover similar functionality (some with additional features as well). You can also try another lib of mine filter.js for general image/video processing where you can add custom plugins (e.g HAAr.js can be added as plugin) Hope this helps |
thanks alot for your concern , but would you explain how can i use haar.js with your filter.js ? |
One can add it a s a plugin in filter.js, include the haar.js file and filter js and make a custom plugin, which can be used as a filtyer with other filters. haar.js does not support filter.js plugins by default but one can make almost any other library or code into a plugin for filter.js (if it so desired). FILTER.Image can accept any url/image/canvas/video element and represent it as a filter image which can be processed. FILTER.js is a work in progress and aims to support multiple ways to process images/video in pure javascript (inluding main thread js, parallel threads, webgl, svg and css filters) Most of these features are already usable (main thread, paralle threads and webgl in progress). haar.js was made to function standalone without any dependencies (plus optionaly support parallel computations with parallel.js) So no extra code is added, however f this is a popular request i can customize the haar code to be used more easily as a filter plugin |
but this has nothing with training custom objects right ? |
No, training cascades is another thing. If a cascade for a feature does not exist, one can as well train one. The haar code (either standalone or as a plugin whatever) will use cascade for detecting a feature. The creation of the cascade (i.e training) is another thing, one will need the openCV package for this. See the link in the readme file. Plus one should be aware that the quality of detection depends on the quality of the cascade and the quality of the cascade depends on the number and quality of samples used to train the cascade. |
No description provided.
The text was updated successfully, but these errors were encountered: