mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
t/hand: fix 90 degree rotation for hand detection
This commit is contained in:
parent
a9d04045e6
commit
cb2c355ba6
|
@ -99,7 +99,7 @@ blackbar(const cv::Mat &in, enum t_camera_orientation rot, cv::Mat &out, xrt_siz
|
|||
break;
|
||||
case CAMERA_ORIENTATION_270:
|
||||
// clang-format off
|
||||
go(0,0) = 0.0f; go(0,1) = -scale_down; go(0,2) = translate_x+out_size.w-1;
|
||||
go(0,0) = 0.0f; go(0,1) = -scale_down; go(0,2) = -translate_x+out_size.w-1;
|
||||
go(1,0) = scale_down; go(1,1) = 0.0f; go(1,2) = translate_y;
|
||||
// clang-format on
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue