I came up with a little odd idea for the my android application. Simply, my application allows user to enable camera to take a foot live image to figure the foot size, after that, the program will convert foot size to shoe size. I googled with some suggestions like dealing with AI Analyse.
This is my scratch screenshot
I just wonder whether my idea is possible or not.
Short answer: No.
Long answer: Yes, of course. It’s just a bit of maths and physics. You will have to measure the distance between camera and foot or calibrate your measuring algorithm with e.g. a box of candy of which you know the size of and put it besides your foot.
Without a reference you will never be able to tell the size of an object by the number of pixels it takes on an image.
You’ll be better off by just looking at the bottom of your current shoe. If it fits fine, take the same size again, if not, take a slightely larger one. Alternative: Ask your mother, she’ll probably know.