How to take images only within the bounding box in android custom camera

℡╲_俬逩灬. 提交于 2019-12-25 02:54:27

问题


Recently, I found a app that captures only the images within the boxes like the image below. Should I use a SurfaceView ? or are there some other technique to do this ? I made a camera app with surfaceview and thinking about implementing a blue box like the image below so that I can take the images within the 2 blue boxes.


回答1:


You can captures the whole image, but just crop the target area after capturing. :)



来源:https://stackoverflow.com/questions/29715313/how-to-take-images-only-within-the-bounding-box-in-android-custom-camera

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!