ncnn-android-yolov8 icon indicating copy to clipboard operation
ncnn-android-yolov8 copied to clipboard

[ncnn-android-yolov8] How to handle real-time detect when the view set orientation to "landscape" ?

Open chenchen-boop opened this issue 9 months ago • 0 comments

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 !!!

chenchen-boop avatar May 07 '24 16:05 chenchen-boop