openpnp / openpnp-capture

A cross platform video capture library with a focus on machine vision.
MIT License
117 stars 49 forks source link

native MJPEG stream on MAC #74

Open marn13 opened 1 week ago

marn13 commented 1 week ago

Hi I am trying to use a rust binding to openpnp-capture to record video frames from an usb 4k camera on mac (M2). Without any problem I was able to get RGB frames but cannot find out how to access raw jpg images coming from the device. I noticed in the code that he images are decoded at runtime (using turbojpg? ). How can bypass this and get the raw data?

Kind regards, Marcin

trcwm commented 1 week ago

Hi Marcin,This is not possible with the current library.Regards, Niels.