Skip to content

Commit

Permalink
Fixed dependency issues and brought libraries to modern versions
Browse files Browse the repository at this point in the history
  • Loading branch information
blueOkiris committed Dec 31, 2021
1 parent 6ead50b commit ecc50ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions bgrm/bgrm.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# Description: Main loop for bgrm app

# Force a version of OpenCV that works (not all do)
import pkg_resources
pkg_resources.require("opencv-python<=4.4.0.46")

from cv2 import GaussianBlur, imread, resize, copyMakeBorder, \
BORDER_CONSTANT, cvtColor, COLOR_BGR2YUV_I420
Expand Down
7 changes: 3 additions & 4 deletions bgrm/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
opencv-python==4.4.0.46
opencv-contrib-python==4.4.0.46
mediapipe==0.8.8.1
cvzone==1.5.2
opencv-python==4.5.5.62
mediapipe==0.8.9.1
cvzone==1.5.3
v4l2==0.2

0 comments on commit ecc50ea

Please sign in to comment.