Skip to content

Commit 1dc6db2

Browse files
committed
opencv 4.9
1 parent c437c0f commit 1dc6db2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderbot/cv/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Image():
3636
r_from = np.float32([[0, 0], [640, 0], [640, 480], [0, 480]])
3737
r_dest = np.float32([[0, -120], [640, -120], [380, 480], [260, 480]])
3838

39-
_aruco_dict = cv2.aruco.Dictionary_get(cv2.aruco.DICT_ARUCO_ORIGINAL)
39+
_aruco_dict = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_ARUCO_ORIGINAL)
4040
_aruco_parameters = cv2.aruco.DetectorParameters_create()
4141

4242
_face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ grpcio==1.62.1
2424
numpy==1.26.4
2525
Pillow==10.2.0
2626
protobuf==4.25.2
27-
opencv-contrib-python==4.5.5.62
27+
opencv-contrib-python==4.9.0.80
2828
tflite-runtime==2.11.0
2929
pytesseract==0.3.10
3030
picamera==1.13

0 commit comments

Comments
 (0)