简体   繁体   中英

Get X & Y Coordinates of Camera Focus

I would like to ask a question related to the camera live view.

When we tap somewhere on the camera preview, a focus appears. How should I get the X & Y coordinates or pixel of that focus?

Thanks in advance.

此方法提供所有焦点区域的列表,并尝试获取每个焦点区域的Rect ,从而可以获取矩形的(x,y)。

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