Browse Source

Correcting test video path.

master
Georgios Gerontakis 5 years ago
parent
commit
14c18af9c9
  1. 2
      camera module/main.py

2
camera module/main.py

@ -157,7 +157,7 @@ servoY = SERVO_INITIAL_Y_ANGLE
servo.SetAngleUp(servoY) servo.SetAngleUp(servoY)
servo.SetAngleDown(servoX) servo.SetAngleDown(servoX)
cap = cv2.VideoCapture('C:/Users/Giorgos Ger/Desktop/drone_test.mp4') cap = cv2.VideoCapture('drone_test.mp4')
if (cap.isOpened() == False): if (cap.isOpened() == False):
print('Error opening stream.') print('Error opening stream.')
quit() quit()

Loading…
Cancel
Save