An open API service indexing awesome lists of open source software.

https://github.com/arjun-ms/20-20

Mohanlal vs Mammooty Classfier
https://github.com/arjun-ms/20-20

deep-learning image-recognition keras machine-learning python

Last synced: about 1 year ago
JSON representation

Mohanlal vs Mammooty Classfier

Awesome Lists containing this project

README

          

![BFH Banner](https://trello-attachments.s3.amazonaws.com/542e9c6316504d5797afbfb9/542e9c6316504d5797afbfc1/39dee8d993841943b5723510ce663233/Frame_19.png)

# 20-20
![20-20](https://nettv4u.com/fileman/Uploads/Top-10-Movies-In-Which-Mammootty-and-Mohanlal-Acted-Together/Harikrishnans.jpg)

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](https://www.kaggle.com/arjunachu/mamooty-mohanlal) from here.
## Team members
1. [Arjun M S](https://github.com/arjun-ms)
2. [Muhammed Ajmal M](https://github.com/ajmalmohad)
3. [Danwand](https://github.com/DanBrown47)
## 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]

```shell
$ sudo apt-get install python3-pip
```

**2.** Clone this repository to your local drive

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

**3.** Install dependencies

```shell
$ pip3 install -r requirements.txt
```

**4.** Open the Server Folder

**5.** Download Our Model and Paste it in the Sever Folder
[Download Our Model](https://drive.google.com/drive/folders/1OTLdtsLff9cmXfW9NJ_nOT1_lCuAivhO?usp=sharing)

**6.** Open Terminal and Run the Flask Server

```shell
$ python app.py
```
**7.** The Server will be running now you can get prediction by uploading Images

Thank You.