Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -299,7 +299,7 @@ def predict(image, offset, coin_size_mm):
|
|
| 299 |
scaling_factor= calculate_scaling_factor(
|
| 300 |
reference_image_path="./coin.jpg",
|
| 301 |
target_image=reference_square_mask,
|
| 302 |
-
|
| 303 |
feature_detector="ORB",
|
| 304 |
)
|
| 305 |
except Exception as e:
|
|
|
|
| 299 |
scaling_factor= calculate_scaling_factor(
|
| 300 |
reference_image_path="./coin.jpg",
|
| 301 |
target_image=reference_square_mask,
|
| 302 |
+
reference_obj_size_mm = coin_size_mm,
|
| 303 |
feature_detector="ORB",
|
| 304 |
)
|
| 305 |
except Exception as e:
|