How can do object detection in video using OpenCV and Javascript

BindingError: _emval_take_value has unknown type N10emscripten11memory_viewIhEE

please state, what exactly you are trying to use (opencv version, which kind of model, etc.)

also, seeing the relevant piece of your code would be helpful, thank you !

I am trying to implement solution object tracking on video.
My requirement is select the object on video and track that object when video is playing.
I referred this link from doc website OpenCV: Meanshift and Camshift but this is not working properly same code.
I want to implement this in JavaScript + OpenCV.
Can you please provide me, if you have any examples links. ?