t/hand: fix 90 degree rotation for hand detection

This commit is contained in:
Moses Turner 2022-11-02 03:52:50 -05:00 committed by Moses Turner
parent a9d04045e6
commit cb2c355ba6

View file

@ -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;