Voxl2 camera RAW
-
Hi everyone,
is there a way to take some raw snapshot from the HiRes camera (IMX412 w microcoax wires)?
I see that the file created by "voxl-send-command hires_large_color snapshot" is pretty small (less then 800KB)
The preview on the voxl portal seems even better compared to the jpg imagethank you in advance!
-
Hi all, I work with Roberto, adding here the voxl-camera-server.conf file we are currently using.
{ "version": 0.1, "fsync_en": true, "fsync_gpio": 109, "cameras": [{ "type": "imx412", "name": "hires", "enabled": true, "camera_id": 1, "fps": 30, "en_preview": false, "preview_width": 640, "preview_height": 480, "en_raw_preview": false, "en_small_video": true, "small_video_width": 1024, "small_video_height": 768, "small_venc_mode": "h264", "small_venc_br_ctrl": "cqp", "small_venc_Qfixed": 30, "small_venc_Qmin": 15, "small_venc_Qmax": 40, "small_venc_nPframes": 9, "small_venc_mbps": 2, "small_venc_osd": false, "en_large_video": true, "large_video_width": 4056, "large_video_height": 3040, "large_venc_mode": "h264", "large_venc_br_ctrl": "cqp", "large_venc_Qfixed": 40, "large_venc_Qmin": 15, "large_venc_Qmax": 50, "large_venc_nPframes": 29, "large_venc_mbps": 40, "large_venc_osd": false, "en_snapshot": true, "en_snapshot_width": 4056, "en_snapshot_height": 3040, "exif_focal_length": 4.5, "exif_focal_length_in_35mm_format": 25, "exif_fnumber": 4.5, "ae_mode": "off", "gain_min": 54, "gain_max": 8000, "snapshot_jpeg_quality": 100 }] }We are using the snapshots for one of our projects and we would need to have the most detailed image possible to be processed with an external algo.
Thanks -
Hi all, I work with Roberto, adding here the voxl-camera-server.conf file we are currently using.
{ "version": 0.1, "fsync_en": true, "fsync_gpio": 109, "cameras": [{ "type": "imx412", "name": "hires", "enabled": true, "camera_id": 1, "fps": 30, "en_preview": false, "preview_width": 640, "preview_height": 480, "en_raw_preview": false, "en_small_video": true, "small_video_width": 1024, "small_video_height": 768, "small_venc_mode": "h264", "small_venc_br_ctrl": "cqp", "small_venc_Qfixed": 30, "small_venc_Qmin": 15, "small_venc_Qmax": 40, "small_venc_nPframes": 9, "small_venc_mbps": 2, "small_venc_osd": false, "en_large_video": true, "large_video_width": 4056, "large_video_height": 3040, "large_venc_mode": "h264", "large_venc_br_ctrl": "cqp", "large_venc_Qfixed": 40, "large_venc_Qmin": 15, "large_venc_Qmax": 50, "large_venc_nPframes": 29, "large_venc_mbps": 40, "large_venc_osd": false, "en_snapshot": true, "en_snapshot_width": 4056, "en_snapshot_height": 3040, "exif_focal_length": 4.5, "exif_focal_length_in_35mm_format": 25, "exif_fnumber": 4.5, "ae_mode": "off", "gain_min": 54, "gain_max": 8000, "snapshot_jpeg_quality": 100 }] }We are using the snapshots for one of our projects and we would need to have the most detailed image possible to be processed with an external algo.
Thanks@Alex-Kushleyev
We updated the voxl-camera-server to the last release, now setting the snapshot quality to 100 we get a bigger file, but it is still compressed.
I read on a different topic that you already saw something about thisthank you
-
@Alex-Kushleyev
We updated the voxl-camera-server to the last release, now setting the snapshot quality to 100 we get a bigger file, but it is still compressed.
I read on a different topic that you already saw something about thisthank you
@robertociuch , jpg quality of 100 will still result in a lossy / compressed output. What is your goal ?
-
@robertociuch , jpg quality of 100 will still result in a lossy / compressed output. What is your goal ?
We need to take snapshot with the best possible image quality, without compression if possible.
It would be nice if we can save the single frames of the hires (few snapshots) in YUV NV12, which is the native format for the software we are usingthanks
-
We need to take snapshot with the best possible image quality, without compression if possible.
It would be nice if we can save the single frames of the hires (few snapshots) in YUV NV12, which is the native format for the software we are usingthanks
@robertociuch , you can use a tool
voxl-record-raw-imagewhich is a part ofvoxl-mpa-toolspackage, should be installed by default in the VOXL2 SDK. (see help for details for the tool)This allows you to save any image (whether it is bayer or yuv) at any time from command line. Would that work for you?
Alex
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login