Catch exceptions before Haar cascade is loaded. From opencv.js.
Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.
(This is super low priority; fix literally everything else first and then look at this.)
Catch exceptions before Haar cascade is loaded. From opencv.js.
Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.(This is super low priority; fix literally everything else first and then look at this.)