Take a guided picture from Mobile app for client specific ID

Job ID: 31437987

Budget: $30 – $250 USD

We need somebody to write a code using android studio and for apple using XCode to take a picture for a specific “client identification ID) and capture the picture in good quality , lowest possible size , and meet the conditions :
1- The picture should be horizontally strait.
2- The picture is taken when the mobile is 100% parallel to the ID located on a table ( the TOP View).
3- The taken picture should look strait from all 3 sides ( TOP side , horizontal , and Vertical) .
4- The guidelines or marks should be displayed on the Mobile phone to detect the above values, and once the ID is within all parameters the picture will be taken automatically without the need for the client to press anything.
5- Display the result on the screen for the client to check if it ok or no