eduardolundgren / eduardolundgren/tracking.js
how to know which of the classifier was detected?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 9.5k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
how to know which classifier was detected? I need these classifiers which violates jones / tracking this by detecting the image. how can I do to find out
Queria saber como descobrir qual dos classificadores esta sendo detectado, como posso fazer isso?
`var img = document.getElementById('srcImage');
var tracker = new tracking.ObjectTracker(['face']);
tracker.setStepSize(1.7);
tracking.track('#srcImage', tracker, {onFound:function(){
alert('re');
}});
tracker.on('track', function(event) {
console.log(event)
event.data.forEach(function(rect) {
window.plot(rect.x, rect.y, rect.width, rect.height);
alert(event.classifier);
});
});
window.plot = function(x, y, w, h) {
var rect = document.createElement('div');
document.querySelector('.image').appendChild(rect);
rect.classList.add('rect');
rect.style.width = w + 'px';
rect.style.height = h + 'px';
rect.style.left = (img.offsetLeft + x) + 'px';
rect.style.top = (img.offsetTop + y) + 'px';
};
};`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tracking.ObjectTracker setup and the tracker.on('track') handler shown in the issue, then inspect how the track event exposes event.data and event.classifier. The work is done when the supported way to identify the detected classifier is established and documented or the requested behavior is clearly scoped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100