eduardolundgren / tracking.js

A modern approach for Computer Vision on the web
http://trackingjs.com
Other
9.44k stars 1.45k forks source link

Creating ObjectTracker from hair classifier #120

Open nfarve opened 9 years ago

nfarve commented 9 years ago

I see that the converter is used to create an ObjectTracker. What data is used as the array data? All of the values from Haar Classifier XML?

thiago-rocha commented 9 years ago

@cirocosta Could you help us here?

cirocosta commented 9 years ago

I'll definetly take a look at this this week. It seems like more people are interested on getting the converter fixed (https://github.com/cirocosta/gulp-converter-tjs/issues/9).

@thiago-rocha yep, sure! :dancers:

@nfarve, i'll try to keep more info about the converter at that issue, ok?

eduardolundgren commented 9 years ago

The number of people asking for data conversion is very high. Would be good to integrate the converter in tracking.js build in such a way that you can paste training data in a folder and it converts automatically into build.

WDYT?

nfarve commented 9 years ago

@cirocosta great thanks! I just used the converter and going to try it out now.

cirocosta commented 9 years ago

@eduardolundgren that was the original reason why i created that hahah. I'm finishing my midterm exams at the univ' and then i'll jump into it :+1: I also invite everyone to contribute :dancer:

eduardolundgren commented 9 years ago

@cirocosta :)

garryygpw commented 8 years ago

Am wanting to convert an opencv cascade.xml to tracker.js array.

Apologies for being a complete javascript novice. I noticed an older version had opencv_haarcascade_converter.html showing an example of how to convert to the tracker.js array.

I understand cirocosta/gulp-converter-tjs was created to cater for the new format.

As say am struggling with javascript and setting up gulp. Would be great if had a new version of opencv_haarcascade_converter.html that included gulp-converter-tjs for the new format. Or if is anywhere online that can add an openCv cascade.xml file and return a tracker.js array as a string that would be great