Have been trying to convert dlibs facial landmarks code to js using emscripten. It fails in parts where it has been using OpenCV where it uses the native c++ libraries instead of Emscripten libcxx libraries. There's an issue on Emscripten I have issued and have got some help from them - https://github.com/kripken/emscripten/issues/5435. I had even tried building opencv from source using Emscripten option as defined in its CMakelists.txt.
Need to get some help about what could be the procedure I may go about to tackle this. Any help will be appreciated.