NXP S3V234 SBC : Sony Camera IMX224 run opencv application, no /dev/video file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXP S3V234 SBC : Sony Camera IMX224 run opencv application, no /dev/video file

2,846 Views
dakshina_dasari
Contributor I

Dear NXP Team,

I am using the NXP S32V234 SBC with an attached Sony IMX224 Image sensor.

 In order to use any opencv program I need to see the camera device mapped onto /dev. I can only find /dev/cam_generic on my system. There is no /dev/video* on my system.

How can I run a simple video capture opencv example, because the standard interfaces are not supported here.

All the necessary drivers are installed from the VSDK installation.

 

Do I need to update my boot files to enable this or make any other configuration changes.

 

No devices are listed when this command is executed.

v4l2-ctl --list-devices
Failed to open /dev/video0: No such file or directory

 

PS: I checked the NXP demo code. They are not helpful since they use memory mapped devices and this is not helpful for running more common opencv programs.

Any help would be appreciated.

 

 

 

0 Kudos
2 Replies

2,026 Views
Guth55434
Contributor I

I've encountered the same issue and attempted several methods like cv2.VideoCapture(-1) or cv2.VideoCapture(1) but without much success.

I succeeded after reading this articlehttps://manivannan-ai.medium.com/live-webcam-flask-opencv-python-26a61fee831 and disabling debug-mode MyBalanceNow

0 Kudos

1,993 Views
Jaypee
Contributor I

Hello Guth55434,

I am also trying to start mipi csi imx224 camera in s32v234. could you please share what is the device id you used to start the camera? 

0 Kudos