Closed b-g closed 4 years ago
The main.js contain the logic for parsing the command line and stuff, the core module is tracker.js
For some reason the main.js code fails to pass the browserify exporting, but as the code of the main.js isn't needed, I changed it to export the tracker.js only and it works
Then to use it you can import the script in dist/ and
movingThingsTracker.updateTrackedItemsWithNewFrame(detectionsOfThisFrame, frameNb);
// NB: We could simplify the API and auto increment frame by 1 when calling updateTrackedItemsWithNewFrame
const trackerDataForThisFrame = movingThingsTracker.getJSONOfTrackedItems();
Seems the uglify script isn't properly working yet, I let you have a look
close this as very old
@tdurand WIP. Having trouble with this ... could you have a look?