Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Freeze camera image, zoom into image, and move image around

Hi,

I have an application built on the basis of the sample4mixed example from OpenCV4Android. What I want to do is: I want to "freeze" the camera input in the onCameraFrame() method. Then I want to zoom into the frozen picture (e.g. 4x) and drag the zoomed part around on the entire frozen picture.

But I have no idea so far how to do that. I don't know how to "freeze" the camera input. I know how to zoom into a video, so maybe that's the same with the picture then...but I have not a clue how to drag the picture around...if that makes sense. If not let me know and I try to explain it a little bit more.

P.S. The image should not be saved on SD card or anything.

Thanks :)!