Drawing boxes over faces in photo displayed by PhotoView
Open
- Dominant language
- Java
- Stars
- 18.8k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
I am having issues with handling drawing white boxes over faces in the image displayed by PhotoView. Basically I have coordinates of boxes relative to photo width and height. The PhotoView displays the photo using scaleType=centerInside. I load the photo using Picasso library. I am struggling with which matrix to take from PhotoView and how to handle zooming correctly. How to calculate boxes coordinates correctly?

Contributor guide
Assessment
This issue has not been assessed yet.