You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anythimg work fine until i set the view orientation to landscape ,it will make preview rotate 90 degree.
I have tried setting
orientation = (int)e.data.i32[0]; ->orientation = (int)e.data.i32[0]- 90 ;
( inside ndkcamera.cpp: int NdkCamera::open(int _camera_facing)){ })
this make preview show correct, but the detect get wrong.
please help me !!!
(i think the key is inside ndkcamera.cpp,but I don't know exact how to do.)
Anythimg work fine until i set the view orientation to landscape ,it will make preview rotate 90 degree.
I have tried setting
orientation = (int)e.data.i32[0]; ->orientation = (int)e.data.i32[0]- 90 ;
( inside ndkcamera.cpp: int NdkCamera::open(int _camera_facing)){ })
this make preview show correct, but the detect get wrong.
please help me !!!
(i think the key is inside ndkcamera.cpp,but I don't know exact how to do.)
source:https://github.com/FeiGeChuanShu/ncnn-android-yolov8
The text was updated successfully, but these errors were encountered: