Skip to content

FiratSaritas/manhole-cover-classification

Repository files navigation

manhole-cover-classification

ezgif-4-b657bbd0b1 ezgif-5-35c28f41eb ezgif-4-1abd2a1947

About project

The aim of this project is to develop an image classification model, which should be able to classify different types of manhole covers . We don't have enough images to train the model. Sometimes we also have pictures of water pipe covers instead of manhole covers. The available images are all unlabelled. Now we have to find a solution to ensure correct classification of manhole covers.

Folder Structure Conventions

    ├── Checklists             # Checklists for a clean code and project (files type: pdf)
    ├── augmentation           # Use of different data augmentations (files type: ipynb)
    ├── data                   # Data of the project (files type: csv)
    │   ├── archive
    ├── eda                    # Exploratory data analysis (files type: ipynb)
    ├── model                  # Different trained models (files type: ipynb)
    │   ├── final              # Calls final model and makes a prediction (files type: py)
    ├── utils                  # outsourced functions (files type: py)
    │   ├── archive
    │   ├── dataset            # dataset functions (files type: py)
    │   │   ├── tests
    │   ├── plots              # plot functions (files type: py)
    │   │   ├── tests
    │   ├── training           # training functions (files type: py)
    │   │   ├── tests
    └── README.md             
    └── git_workflow.md
    └── requirements.txt

Getting Started

Installation

Clone project locally

   git@github.com:FiratSaritas/manhole-cover-classification.git

Downloads

Model:

Download model from Google Drive and add it to the folder ./model here: link (not ready yet)

Images (optional):

Download images as Folder (images_transformed) from Google Drive and add it to the folder ./data here: (https://drive.google.com/drive/folders/1y5T1-WUZB1Vsp87aBiU6hDxagiY2mGgi?usp=sharing)

Prerequisites

Install required packages

   pip install -r requirements.txt

Run project

Run test

There are tests for the outsourced python files. These python files are located in the "utils" folder. There are subfolders of the corresponding classes (e.g. dataset). There is a folder with the name "tests" and there are the unittests. You can run a test with the following code:

    python -m unittest [name of the testfile]

About

A deep learning model for manhole cover classification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published