Giter Club home page Giter Club logo

ai_covid_mask_detection's Introduction

AI_Covid_Mask_Detection

Directory Structure :

![Directory Structure](Directory Structure.png)

Project Files:

  1. model.pth :- Trained Model present in Dataset directory.
  2. Project.py :- This file contains code to train and generate a model.
  3. Test.py :- This file contains code to test the generated model on images present in test directory.
  4. compress.py :- This file contains code to compress the unfiltered images in order to reduce their size while saving enough quality to train our model
  5. Project_Report(Phase-I).pdf :- The report for the project phase 1.
  6. Expectation of originality form.

Link for the dataset (training data) : Model Dataset

To start the training follow these steps :-

Project.py :-
The master file that contains all the necessary methods in order to load the dataset, train the model, testing the performance and for making changes in order to load dataset from any different location and also the information regarding saving the model and it's location. Run the main function and it will start calling the methods to load the dataset, transform it, train it and test it on the test dataset.

After completing the training the evaluation can be performed by the displaying the confusion matrix and classification report as well as plotting the graph for loss and accuracy.

Test.py:- This file contains code to test the generated model on new untrained and untested images present in test directory. It will generate the output with image name and predicted class name. To test on new images add them to test directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.