Spaces:
Runtime error
Runtime error
changed. behaviour for animal detection threshold
Browse files
app.py
CHANGED
@@ -207,7 +207,7 @@ def predict_pipeline(img_input,
|
|
207 |
dlc_proc)
|
208 |
|
209 |
# Produce final image
|
210 |
-
img_background = Image.fromarray(md_results.imgs[0])
|
211 |
for ic, (np_crop, kpts_crop) in enumerate(zip(list_crops,
|
212 |
list_kpts_per_crop)):
|
213 |
|
|
|
207 |
dlc_proc)
|
208 |
|
209 |
# Produce final image
|
210 |
+
img_background = img_input # img_input? Image.fromarray(md_results.imgs[0])
|
211 |
for ic, (np_crop, kpts_crop) in enumerate(zip(list_crops,
|
212 |
list_kpts_per_crop)):
|
213 |
|