GithubHelp home page GithubHelp logo

camera-caps's People

Contributors

jetsonhacks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

camera-caps's Issues

Does not work with Jetson Orin AGX 64GB Developer Kit

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.