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
so, here my confusion is with rgba().size as to why it was returning the previewSize of the camera instead of giving me the resolution I have set using the setMaxFrameSize (which should be setting the frame size ) and then the rgba().size() is supposed to return that resolution? Any help on this is much appreciated!
Thanks.
The text was updated successfully, but these errors were encountered:
Hi team,
Can someone please confirm the following?
does the inputFrame.rgba().size() gives the resolution of the inputFrame or the previewSize of the camera?(https://github.com/touchlab-lab/OpenCVAndroidLib/blob/master/opencvandroidlib/src/main/java/org/opencv/android/CameraBridgeViewBase.java#L137)?
I could not find the exact documentation which points out that the rgba().size() returns the maximum resolution for the camera frames? Because in my code I am changing the previewSize of the cameraFrame and after testing that in my logs the inputFrame.rgba().size() was giving me the changed previewSize and not the resolution I have set using setMaxFrameSize() method(https://github.com/touchlab-lab/OpenCVAndroidLib/blob/master/opencvandroidlib/src/main/java/org/opencv/android/CameraBridgeViewBase.java#L277)
so, here my confusion is with rgba().size as to why it was returning the previewSize of the camera instead of giving me the resolution I have set using the setMaxFrameSize (which should be setting the frame size ) and then the rgba().size() is supposed to return that resolution? Any help on this is much appreciated!
Thanks.
The text was updated successfully, but these errors were encountered: