camera-caps icon indicating copy to clipboard operation
camera-caps copied to clipboard

Does not work with Jetson Orin AGX 64GB Developer Kit

Open bryanhughes opened this issue 4 months ago • 0 comments

Just got my brand new AGX and successfully set it up. It is clear there are changes in this model from previous ones. I am following the instructions and I get the following:

python3 camera_caps.py 
Traceback (most recent call last):
  File "/home/bryan/camera-caps/camera_caps.py", line 17, in <module>
    from PyQt5.QtCore import QSize
ModuleNotFoundError: No module named 'PyQt5'
bryan@ubuntu:~/camera-caps$ pip3 install datacl

I then installed python3-pyqt5.qtsvg python3-pyqt5.qtwebkit and now I get

$ python3 camera_caps.py 
/home/bryan/camera-caps/camera_caps_controller.py:416: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if frame_rate is not "" and frame_rate in fps:
_IceTransSocketUNIXConnect: Cannot connect to non-local host ubuntu
_IceTransSocketUNIXConnect: Cannot connect to non-local host ubuntu
Qt: Session management error: Could not open network socket
Unable to detect what device /dev/media0 is, exiting.
Command '['v4l2-ctl', '-d', '/dev/media0', '--list-ctrls-menus']' returned non-zero exit status 1.
Unable to detect what device /dev/media1 is, exiting.
Command '['v4l2-ctl', '-d', '/dev/media1', '--list-ctrls-menus']' returned non-zero exit status 1.
Unable to detect what device /dev/media0 is, exiting.
Unable to get device info: Command '['v4l2-ctl', '--info', '-d', '/dev/media0']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/home/bryan/camera-caps/camera_caps.py", line 223, in <module>
    main()
  File "/home/bryan/camera-caps/camera_caps.py", line 209, in main
    controller = Camera_Caps_Controller(window)
  File "/home/bryan/camera-caps/camera_caps_controller.py", line 39, in __init__
    self.camera_list = self.camera_inspector.list_cameras()
  File "/home/bryan/camera-caps/camera_caps_model.py", line 130, in list_cameras
    self.get_camera_info(camera)
  File "/home/bryan/camera-caps/camera_caps_model.py", line 150, in get_camera_info
    for line in camera_info.splitlines():
UnboundLocalError: local variable 'camera_info' referenced before assignment

I see my Logitech Webcam no problem and can get its info:

v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
	/dev/media0

Logitech Webcam C930e (usb-3610000.usb-4.1):
	/dev/video0
	/dev/video1
	/dev/media1

bryanhughes avatar Feb 15 '24 01:02 bryanhughes