Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Android + OpenCV - Zoom camera frame

Good Evening,

now I have a problem with find some solution for zoom camera frames.

I have a this ...

image description

... and I want zoom it like this.

image description

Of course I am using a onCameraFrame function, here is a code example:

public Mat onCameraFrame(CameraBridgeViewBase.CvCameraViewFrame inputFrame) {

        return mRgba = inputFrame.rgba();
}

Do you have any idea ? Thanks everyone for any comment and ideas !