ArchiMathur commited on
Commit
671b2fd
·
verified ·
1 Parent(s): ed12aa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from ultralytics import YOLO
7
  # Load the YOLO model
8
  model = YOLO("best.pt") # Ensure the path to your model is correct
9
 
10
- webcamera = cv2.VideoCapture(0)
11
  # # webcamera.set(cv2.CAP_PROP_FRAME_WIDTH, 1920)
12
  # # webcamera.set(cv2.CAP_PROP_FRAME_HEIGHT, 1080)
13
 
 
7
  # Load the YOLO model
8
  model = YOLO("best.pt") # Ensure the path to your model is correct
9
 
10
+ webcamera = cv2.VideoCapture()
11
  # # webcamera.set(cv2.CAP_PROP_FRAME_WIDTH, 1920)
12
  # # webcamera.set(cv2.CAP_PROP_FRAME_HEIGHT, 1080)
13