Has anyone used the packaged Xamrin version of this? https://components.xamarin.com/view/emgucv-v3
I have recently purchased this license and am hitting exactly the same issues as described here ( Rotate camera preview to Portrait Android OpenCV Camera). Have been using a variety of approaches.
Firstly rotate the screen orientation from Landscape to Portrait, but this simply displays the stream in the same rotated form (90 degrees). Landscape seems to be the only one that works as I would like.
I have tried to rotate the camera itself using the camera object, but this doesn't fix the issue either. i.e.
camera.SetDisplayOrientation(90);
I have debuged this a huge number of times to see where execution occurs, and it seems that initially the screen is set correctly, but by the time
protected override void OnDraw(Android.Graphics.Canvas canvas)
is run to add the FPS text it has flipped it back.
I have also tried to flip the image using Matrix, but this drops the frame rate from approx 20FPS to about 6FPS. This is too much of. a hit
Really struggling here as this is now the major stumbling block to building out my app.
I am fairly new to Xamarin, so any help is greatly appreciated.
P.S. Apologies. I know this has been covered by another thread (Rotate camera preview to Portrait Android OpenCV Camera), and I have tried all the options there, but this entry was deleted by Ed Cotrell (Admin) from that thread and I was told to start a new one.