So I am working in this app in which if an officer take a picture of car accident and if this picture is blur, it will no accept it. It will only allow images based on quality and resolution. So after research, I found that I can implement this feature using pytorch in which I will save it in my asset and then write kotlin code based on my logic. I found this link: https://pytorch.org/mobile/android/ However, this link shows image classifier example in which user can detect if the image is a cat or a dog, and this is not what I want.
As an example,
If a police officer take a picture via the app of car accident, the app needs to verify if the image resolution and quality is readable and understandable so when user sees the image taken he/she can tell if it is car accident compared to that of when it is blur image and not clear the app will ask the user to take a picture again.
Any tips please ?
Thank you