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

Issues Following Tutorial w/ Jetpack 6.2 Installed #63

Open
AaronSif opened this issue Feb 15, 2025 · 1 comment
Open

Issues Following Tutorial w/ Jetpack 6.2 Installed #63

AaronSif opened this issue Feb 15, 2025 · 1 comment

Comments

@AaronSif
Copy link

I am running Jetpack 6.2 and I am having some issues following these tutorials, most likely because my software is a later version. I am following the tutorial on Github along with the YouTube video supplement. After some time I am now able to get my camera to launch a few different ways. I had to declare my I/O pin configuration which doesn't seem to be an issue for people who are running an older version of Jetpack. I only mention the I/O pins incase someone else is having the same issue.

I am able to launch the camera using the bottom example code in the "To test the camera:" section. If I run gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! nvoverlaysink I will get the response below.

nano1@nano1-desktop:~/CSI-Camera$ gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! nvoverlaysink
WARNING: erroneous pipeline: no element "nvoverlaysink"

The problem I'm having now is that when I run the scripts in the "Samples" section all I get are errors.

Can you explain what the errors I'm receiving below are caused by? I have tried to modify the .py code to match the second section of code in the test section but haven't had any luck.

nano1@nano1-desktop:~/CSI-Camera$ python simple_camera.py
nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1 ! nvvidconv flip-method=0 ! video/x-raw, width=(int)960, height=(int)540, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink
Error: Unable to open camera

nano1@nano1-desktop:~/CSI-Camera$ python face_detect.py
Unable to open camera

I can provide more examples of code that seems to work if it would be helpful.

@AaronSif
Copy link
Author

If it is helpful, i have Python 3.10.12 and Linux 36.4.3 installed.

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

1 participant