Capture Raw images from IMX477 with Nano

1.Which seller did you purchase the product(s) from?
UCTRONICS
2.The Model number of the product(s) you have purchased?
https://www.arducam.com/product/arducam-high-quality-camera-for-jetson-nano-and-xavier-nx-12mp-m12-mount/
3.Which Platform are you using the product(s) on?
Jetson Nano B01
4.Which instruction are you following?

5.Has your product ever worked properly?
Yes, it works with Arducam instructions (compressed images)
6.What problems are you experiencing?
Dear Arducam,

I would really like to capture raw images from the IMX477 with Jetson Nano B01. I was able to create a pipeline with the instructions from your Docs, but I can only get access to the 8bit values. I found a forum from Ridgerun, where somebody had the exact same problem and an employee helped us with the following:
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=10

I was able to capture 10 images and load them in python to see, that the capture indeed worked, but I was not able to implement it in python to capture the raw images, which I need for my project.
Is there any possibilty to get access to the raw images?

Best,
7.What attempts at troubleshooting have you already made?

8.How would you like us to help you?

Hi @henryfan

opencv does not support opening RAW10 format cameras, so to access the RAW10 video node, you need to use v4l2 api.
This is an example of the C language version:
https://gist.github.com/maxlapshin/1253534

This is an example of the python version:
https://pastebin.com/YL39PDzV