Skip to content

Commit

Permalink
Update color_recognition.py
Browse files Browse the repository at this point in the history
  • Loading branch information
muki01 authored Nov 23, 2022
1 parent 2d87f2c commit 49c9987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ColorDetection/color_recognition.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import cv2

cap = cv2.VideoCapture(0)
cap.set(cv2.CAP_PROP_FRAME_WIDTH, 1280)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 720)
cap.set(3, 1280)
cap.set(4, 720)

while True:
_, frame = cap.read()
Expand Down

0 comments on commit 49c9987

Please sign in to comment.