I'm currently on jetson Xavier NX and have imx219 sensor with the format RG10.
Here's the code I'm trying to run:
from linuxpy.video.device import Device, BufferType
with Device.from_id(0) as cam:
print("Hi!")
print(cam.info.capabilities)
print(cam.get_format(BufferType.VIDEO_CAPTURE))
for i, frame in enumerate(cam):
print(f"frame #{i}: {len(frame)} bytes")
if i > 9:
break
terninal output log:
python3 linuxpy_test.py
Hi!
Capability.DEVICE_CAPS|STREAMING|EXT_PIX_FORMAT|VIDEO_CAPTURE
Format(width=1920, height=1080, pixel_format=<PixelFormat.SRGGB10: 808535890>, size=4147200)
And it gets stuck here infinitely, it never captures the frame i.e., frame 0: xyz bytes
I'm currently on jetson Xavier NX and have imx219 sensor with the format RG10.
Here's the code I'm trying to run:
terninal output log:
And it gets stuck here infinitely, it never captures the frame i.e., frame 0: xyz bytes