mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-09-26 23:09:28 +08:00
Fix image shape axis order
This commit is contained in:
parent
c231b004b9
commit
8f0acab6ce
@ -473,7 +473,7 @@ class CameraWidget:
|
||||
if maybe_image:
|
||||
image = maybe_image[0]
|
||||
|
||||
img_w, img_h, _ = image.shape
|
||||
img_h, img_w, _ = image.shape
|
||||
|
||||
hyp = math.ceil((img_w**2 + img_h**2)**0.5)
|
||||
rotation_matrix = cv2.getRotationMatrix2D(
|
||||
|
Loading…
Reference in New Issue
Block a user