Open oriagranat9 opened 5 years ago
It is likely that the camera you are using does not support the MJPEG format, which CSCore uses by default. Please check the video modes the camera supports (which are listed at the bottom of the webpage of the camera server).
Is there any way to use other formats with cscore
What kind of camera is it?
My guess, given oriagranat9 other bugs is this is a PS Eye camera. AFAIK, it does not support MJPEG, only YUYV.
You can select YUYV with
camera.setPixelFormat(cscore.VideoMode.PixelFormat.kYUYV)
I'm tempted to call this an upstream documentation bug.
while using the quick camera server example on ubuntu 18 im getting a warning: WARNING:cscore:USB Camera 0: invalid JPEG image received from camera
the server opens and i can browse to the website but i dont get any image