简体   繁体   中英

How set zoom camera to max?

I use code zoom to max:

Camera.Parameters p = mCamera.getParameters();
maxZoomLevel = p.getMaxZoom();
p.setZoom(maxZoomLevel);
p.set("zoom-speed", 1);
mCamera.setParameters(p);
mCamera.setParameters(p);
mCamera.startPreview();

Result:

在此处输入图片说明

And case: zoom to max of standard camera on my phone:

在此处输入图片说明

Why does my application set max zoom smaller than standard camera? How set zoom camera to max the same standard camera? Or Has other function increased zoom capability of the camera?

Your phone's camera app is zooming on the frame it's displaying rather than the camera itself is zooming. Is your app, zooming to certain level?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM