-
example_model folder contains classifier model for model testing
-
uploads folder contain images for testing the classifier model
-
classifier_model folder contained trained classifier model based on user input classes
-
images folder contains .p file for model training based on user input classes
Run app.py using below command to start Flask API
python app.py
Pipeline
- Scraping google images based on user input classes
- Extract feature by using resnet50 and store data in images folder
- Trained model with LinearSVC
- Return an image classifier model file that can be opened with joblib
Upload image and submit
Predict image from image link address
run train_model_from_collected_data.py