Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera Raspberry Pi v2 8MP (Sony IMX219) #102

Open
Rodolfoloc opened this issue Nov 14, 2024 · 4 comments
Open

camera Raspberry Pi v2 8MP (Sony IMX219) #102

Rodolfoloc opened this issue Nov 14, 2024 · 4 comments

Comments

@Rodolfoloc
Copy link

Hello! I am using the image from this repository on the Jetson Nano. I have an application that requires a camera. I am using a Raspberry Pi v2 camera 8MP (Sony IMX219 sensor). It works fine with Python2, but nothing works with Python3. The GStreamer is disabled in Python3. Could you assist me with this? Thank you!

@Qengineering
Copy link
Owner

Can you give me some more info? How did you use the camera with Python2? With OpenCV? Do you have a small code snippet? How do you know that's disabled int Python3?

@Rodolfoloc
Copy link
Author

Can you give me some more info? How did you use the camera with Python2? With OpenCV? Do you have a small code snippet?
Response: Used how in https://github.com/jetsonhacksnano/CSI-Camera, file "simple_camera.py".

How do you know that's disabled int Python3?
Response: Running the command print(cv2.getBuildInformation()) is displays:
avresample: NO
GStreamer: NO
libv4l/v4l2: NO

@Qengineering
Copy link
Owner

I'm afraid you're OpenCV isn't healthy anymore.
When you downloaded the image, the correct version of OpenCV can be found on the image.
There is no need to install OpenCV afterwards. When you do, chances are that you corrupt the installation.
Here is a screen dump of the original getBuildInformation().
Screenshot from 2024-11-16 09-56-55

Please check you're installation. If you have only one or two projects on the Nano, consider re-flashing.

@Rodolfoloc
Copy link
Author

Re-flashing solved the problem. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants