Comments (10)
i'm not sure what is the issue here, it is closed. In any case even if it is for criticism, its ok
from haar.js.
the issue is that your code is not working on any image but the one attached with source !!
from haar.js.
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.
from haar.js.
Try to play around with the detector paramaters and see similar issues #19 and #17
from haar.js.
Actually there are much better libraries out there , the problem is im trying to detect human neck , never found a cascade for that :(
from haar.js.
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
from haar.js.
thanks alot for your concern , but would you explain how can i use haar.js with your filter.js ?
from haar.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
from haar.js.
but this has nothing with training custom objects right ?
from haar.js.
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.
from haar.js.
Related Issues (20)
- Using explicit Global HOT 7
- Manifest file prevents haartojs from running HOT 12
- New jar not working properly HOT 4
- Haar.Js video demo problems HOT 2
- Mouth.html demo is a mess HOT 2
- Working detection example for video HOT 1
- Failed to load Main-Class manifest attribute from haartojs.jar HOT 1
- Ruby script HOT 1
- Error Convert XML file to JS HOT 3
- doesn't work on Android phone's web browser HOT 4
- New image
- New image HOT 6
- Examples are not working with other images like haar-mouth-detection.png or Faces.jpg (images in the repository) HOT 2
- Generated JS not working correctly. HOT 1
- can i detect neck HOT 1
- convert selection to image HOT 1
- Cannot read property 'rects' of undefined HOT 1
- Can I use this for real time face tracking? HOT 1
- Parallel.js examples not working HOT 1
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 haar.js.