Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,6 @@ def align_images(image, template, maxFeatures=500, keepPercent=0.2,debug=False):
|
|
32 |
if debug:
|
33 |
matchedVis = cv2.drawMatches(image, kpsA, template, kpsB,matches, None)
|
34 |
matchedVis = imutils.resize(matchedVis, width=1000)
|
35 |
-
cv2_imshow(matchedVis)
|
36 |
cv2.waitKey(0)
|
37 |
# allocate memory for the keypoints (x, y)-coordinates from the
|
38 |
# top matches -- we'll use these coordinates to compute our
|
|
|
32 |
if debug:
|
33 |
matchedVis = cv2.drawMatches(image, kpsA, template, kpsB,matches, None)
|
34 |
matchedVis = imutils.resize(matchedVis, width=1000)
|
|
|
35 |
cv2.waitKey(0)
|
36 |
# allocate memory for the keypoints (x, y)-coordinates from the
|
37 |
# top matches -- we'll use these coordinates to compute our
|