Ultralight
Ultralight copied to clipboard
Video feed from JS to C++?
I am currently trying to use a opencv frame on the frontend so you can see the image produced by opencv but I'm having problems trying to send a image to js from c++ so trying to send a video feed is even worse. Is there any possible way, this can be done?
you can convert the image to encoded base64 string and pass it to js ( that works but it is slow). or you can try by recreating a Uint8ClampedArray() passing the data from cpp. didn't try that though