Android App which uses an API to connect to a OpenCV & ML model deployed on AWS, to detect the numbers captured in an image.
Directories :
1. AWS_API
2. Android_App
-> AWS_API
Consists of ML model, Flask API, Image processing code files that are to be deployed on AWS.
model.py : ML Model building code file.
demo.py : API file to process request and response from app to the image processing file.
process_image.py : Image processing file to extract image and modify it as per the trained model.
model_rfc : Saved trained model file, which is used by image processing file.
train : Original data on which the ML model is trained.
FlaskApplications.wsgi : Api config file.
SampleApp.conf : Apache config file.
-> Android_App
Consists of android application source code which is configured to interact with the flask api deployed on AWS.
Note: If facing issue with configuring the android app, then we can check the working of ML model and image processing code directly using the process_image.py file. The file is setup for DEBUG purpose so it will show you all the stages of image processing.
I have provided test image, but you can use any image of your choice and name it as per the test image.