refactor dig
This commit is contained in:
@@ -17,7 +17,7 @@ class Vision:
|
||||
def __init__(self, method=cv.TM_CCOEFF_NORMED):
|
||||
# load the image we're trying to match
|
||||
# https://docs.opencv.org/4.2.0/d4/da8/group__imgcodecs.html
|
||||
self.needle_img = cv.imread("dig/wtf.jpg", cv.IMREAD_UNCHANGED)
|
||||
# self.needle_img = cv.imread("dig/wtf.jpg", cv.IMREAD_UNCHANGED)
|
||||
|
||||
# Save the dimensions of the needle image
|
||||
#self.needle_w = self.needle_img.shape[1]
|
||||
|
||||
Reference in New Issue
Block a user