clmtrackr
clmtrackr copied to clipboard
ASM version
Hi,
Is it possible to make an ASM version of this script in order to improve performances ? OpenCV dependence allows us to do it ?
The most computation-intensive parts of the code are implemented using WebGL so I don't think ASM would offer any significant performance benefits. Is there a specific part of the code you had in mind?
Which part of the algorithm is computed using WebGL (ang GPU I guess) ? Is it when it comes to to fit a quadratic function to the image response ? Or when we perform the SVM search to obtain the image response ?
If I turn to false the flag useWebGL in clm.tracker constructor, none computation use WebGL ? Because I can't detect variation of performances when I switch it.
For informations, the opencv library have been converted in WASM / WebAssembly with significant performances: https://hacks.mozilla.org/2017/09/bootcamps-webassembly-and-computer-vision/ https://github.com/Web-Sight/WebSight