Skip to content

Commit

Permalink
fixes: fix Capture
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsneto committed Jul 13, 2021
1 parent 1ebe3c9 commit a821c95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion calango/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
from . import settings
from . import devices

VERSION = "1.0.2.final.0"
VERSION = "1.0.3.final.0"
__version__ = get_version_pep440_compliant(VERSION)
2 changes: 1 addition & 1 deletion calango/devices/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, *args, take_rgb=False, flip=False, **kwargs):
self._flip = flip

def _cv2_cap(self):
return cv2.VideoCapture(0, *self._args, cv2.CAP_DSHOW, **self._kwargs)
return cv2.VideoCapture(*self._args)

@property
def cap(self):
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cereja==1.3.4
pyautogui==0.9.52
opencv-python==4.5.1.48
cereja
pyautogui
opencv-python

0 comments on commit a821c95

Please sign in to comment.