How to use python functions to get raw images?

How to use python functions to get raw images?

Maybe try below python libs.

Hello, I don’t seem to have found a demo to get raw. Thank you.

The you need modify the python by your self.
Suppose below command should able get the raw. You use v4l2py libs like below command to do it.

v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw -d /dev/video0 

If you would like use Argus, please reference to the MMAPI sample code.

…/jetson_multimedia_api/argus/samples/rawBayerOutput