clmtrackr icon indicating copy to clipboard operation
clmtrackr copied to clipboard

ASM version

Open yuccai opened this issue 9 years ago • 3 comments
trafficstars

Hi,

Is it possible to make an ASM version of this script in order to improve performances ? OpenCV dependence allows us to do it ?

yuccai avatar Sep 26 '16 08:09 yuccai

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?

kylemcdonald avatar Nov 02 '16 21:11 kylemcdonald

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.

yuccai avatar Nov 25 '16 12:11 yuccai

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

lakano avatar Nov 03 '17 09:11 lakano