Ultralight icon indicating copy to clipboard operation
Ultralight copied to clipboard

Video feed from JS to C++?

Open KaiH-0 opened this issue 3 years ago • 1 comments

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?

KaiH-0 avatar Oct 12 '21 23:10 KaiH-0

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

DionisioII avatar Dec 15 '21 14:12 DionisioII