- create_model() saves the model in json format for reusability
- test() trains the model and saves the final weights in model.h5
- give_label(X) predicts the label of a given input X by loading pretrained weights
-prep_data() takes references from train.csv and uploaded images from folder train. Then it resizes it to 2242243 format and balances the first 6000 images.
- kaggle_test() takes references from sample_submission.csv (given by kaggle) and uploaded images from folder static
- generate_kaggle_csv() applied model prediction on each test sample and saves the data set with labeled predictions on predictions.csv
- analyzeFrame(frame) call method give_label
- homePage() renders the page of web application,while requiesting Post method, calls analyzeFrame for a given input picture
- allowed_file() checks whether the uploaded file is in picture allowed formats