Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.91 KB

README.md

File metadata and controls

68 lines (51 loc) · 2.91 KB

BFH Banner

20-20

20-20
A Image classifier that classifies actors mammooty and mohanlal. This model takes in images of mammooty or mohanlal and classifies them. It was built by training the model with large amount of cleaned data , which helps to identify between mammooty and mohanlal. The data was scrapped from Google and cleaned using opencv face detection algorithm and was manually checked after that. We used suitable algorithm to produce better results out of the model. The final product can now classify the images , but not with very high accuracy. It has good accuracy and we spend a lot of time to make it to this point where it can perform like this. Unfortunately we couldn't host it because there isn't any free services that could host our model because of its large size. Now we can test images by using the script we wrote , we can change image path and test any desired image.

It was a great learning experience for us. We are newbies to machine learning world, but this project helped us understand some core concepts and workflows on making a model. We learned how to train a model efficiently and how to clean a dataset simply. We learned about main algorithms for training our model. Overall it was a great learning experience.

Input taken : Image
Output : Prediction as String
You can download the dataset from here.

Team members

  1. Arjun M S
  2. Muhammed Ajmal M
  3. Danwand

Team Id

BFH/recxiM4z57LubiX39/2021

Link to product walkthrough

(https://www.loom.com/share/75b6c06d59b64d95b7b7dc5cd3669cc3)

How it Works ?

  1. Model was pretrained using datasets of both actors and it was saved.
  2. You can pass a test image to the saved model and it will predict the output.

Libraries used

opencv-python==4.5.2.52
tensorflow==2.5.0
keras==2.4.3
matplotlib==3.4.1
numpy==1.19.5

How to configure

1. Installing pip [Python Package Manager]

$ sudo apt-get install python3-pip

2. Clone this repository to your local drive

$ git clone https://github.com/arjun-ms/20-20

3. Install dependencies

$ pip3 install -r requirements.txt

4. Open the Server Folder

5. Download Our Model and Paste it in the Sever Folder Download Our Model

6. Open Terminal and Run the Flask Server

$ python app.py

7. The Server will be running now you can get prediction by uploading Images

Thank You.