fix: IBO does not work with LEAP as main algo

This commit is contained in:
Prohurtz 2024-12-27 21:27:00 -06:00
parent 141ed6ee9e
commit ccb8571670
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

View File

@ -147,7 +147,7 @@ class LEAP_C:
if per <= 0.25: if per <= 0.25:
per = 0.0 per = 0.0
return imgvis, float(x), float(y), per return imgvis, float(x*img_width), float(y*img_height), per
imgvis = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY) imgvis = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY)
return imgvis, 0, 0, 0 return imgvis, 0, 0, 0