mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-09-26 23:09:28 +08:00
fix: IBO does not work with LEAP as main algo
This commit is contained in:
parent
141ed6ee9e
commit
ccb8571670
Binary file not shown.
Before Width: | Height: | Size: 408 B |
Binary file not shown.
Before Width: | Height: | Size: 570 B |
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user