Customization on camera view

Hello,
The “Take photo” tool is great.
Once the camera open, I am looking to overlay an icon or an auto-focus frame (see below) with the ability to control dynamically its position through variables. I was wondering if there is a method to do it ?
I have in mind something like that:


custom focus frame
Thank you