Spaces:
Sleeping
Sleeping
Mateen Ahmed
commited on
Commit
·
ddb486b
1
Parent(s):
a1f0fd8
Lower match threshold to 5
Browse files- app.py +1 -1
- uploads/{image_42.jpg → image_51.jpg} +2 -2
app.py
CHANGED
|
@@ -165,7 +165,7 @@ def run_feature_search(query_image_data, search_id, use_sift=False):
|
|
| 165 |
score = len(matches)
|
| 166 |
|
| 167 |
# Only keep matches with score >= 8
|
| 168 |
-
if score >=
|
| 169 |
# Create visualization for real-time display (in color) - center query image
|
| 170 |
h1, w1 = query_img_resized.shape[:2]
|
| 171 |
h2, w2 = img_resized.shape[:2]
|
|
|
|
| 165 |
score = len(matches)
|
| 166 |
|
| 167 |
# Only keep matches with score >= 8
|
| 168 |
+
if score >= 5:
|
| 169 |
# Create visualization for real-time display (in color) - center query image
|
| 170 |
h1, w1 = query_img_resized.shape[:2]
|
| 171 |
h2, w2 = img_resized.shape[:2]
|
uploads/{image_42.jpg → image_51.jpg}
RENAMED
|
File without changes
|