Browse Source

fix cap typo

pull/65/head
trivediana 2 years ago
parent
commit
43e23d9b7d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      vz_ros_wrappers/scripts/grab_D435i.py

+ 2
- 2
vz_ros_wrappers/scripts/grab_D435i.py View File

@ -35,8 +35,8 @@ class D435i:
# initialize ros/cv2 bridge # initialize ros/cv2 bridge
# Note: when testing with your own video, replace with local file # Note: when testing with your own video, replace with local file
# self.D435i_cap = cv2.VideoCapture('/home/ananya/Downloads/2022-02-09-16-20-58(2).mp4')
self.thermal_cap = cv2.VideoCapture('/dev/video6')
self.D435i_cap = cv2.VideoCapture('/dev/video4')
if not self.D435i_cap.isOpened(): if not self.D435i_cap.isOpened():
raise(Exception,'Unable to open video stream') raise(Exception,'Unable to open video stream')
self.bridge = CvBridge() self.bridge = CvBridge()

Loading…
Cancel
Save