Jetson Nano: Using a Webcam

Soo this is another beginner setup project where I’ve gotten a Logitech webcam setup with the Jetson Nano.

Check out Arduino Projects here: (LINK)
Check out Raspberry Pi Projects here: (LINK)

Demo:

Things Required:

  1. Jetson Nano
  2. Keyboard
  3. Mouse
  4. HDMI Screen
  5. Webcam Camera
  6. External Power Supply

Reference Material:

  1. To start off with the Camera: (LINK)

Code:

I’ve coded it all in python!

View on/ Download from Github: (LINK)

import cv2
dispW=640
dispH=480
flip=2
cam=cv2.VideoCapture(1)
while True:
    ret, frame=cam.read()
    cv2.imshow('WebCam', frame)
    if cv2.waitKey(1)==ord('q'):
        break
cam.release()
cv2.destroyAllWindows()

Stay Tuned for upcoming posts on Jetson Nano and AI Projects! Want to be the first to know when a new and amazing post comes up?? Then feel free to subscribe!

Happy Learning!!

This image has an empty alt attribute; its file name is stay-tuned.gif

Leave a Reply

PHP JS HTML CSS BASH PYTHON CODE

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close