Hello,
I'm currently trying to make a PTC curve of the Smartsens CS-MIPI-SC132 camera, to do other tests on it after that. However, I am struggling to get raw, uncompressed images from it.
According to the datasheet of the product itself, the camera should be able to output 12/10/8 bit images. (https://www.smartsenstech.com/gs_products) I would like to get 12-bit data from the camera, but I currently am only able to extract 8-bit jpeg images.
I already tried to use:
- the veyeimaging toolbox (https://github.com/veyeimaging/raspberrypi) with which I tried the python code and veye_raspcam toolbox.
- the raspberrypi_v4l2 toolbox (https://github.com/veyeimaging/raspberrypi_v4l2) with which I also was able to take images (by using this command: "gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video0 ! 'video/x-raw, format=(string)UYVY, width=1920,height=1080' ! jpegenc ! filesink location=test_image.jpg")
They both worked, I was able to output 8-bit images, but they were JPEG encoded, which means they are compressed so some data in the images is lost. Maybe I missed something but at the moment I am out of ideas on this.
Does anyone know how to get raw, uncompressed images from the CS-MIPI-SC132 camera?
Thank you in advance!