Skip to content

ID card classification and segmentation using MaskRCNN in PyTorch with ResNet18 and ResNet50 backbones.

Notifications You must be signed in to change notification settings

WasiqMalik/Mask-RCNN-PyTorch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation


ID-Card Classification and Segmentation

Deep Learning solution built in PyTorch

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. License

About The Project

The project is a deep learning solution for the problem of classifying different types of ID-Cards like Pakistani CNIC, Passport etc. Specific fields on the ID-Card can also be segmented out, like Name, DoB, etc. ResNet18 model is trained on custom dataset for the classification task. Mask RCNN model is also trained on same custome dataset for the segmentation task.

Built With

Getting Started

A Jupyter Notebook has been provided will all the required steps.

Prerequisites

Installation

The installation steps are provided in the Jupyter Notebook.

Usage

How to Run

  1. Open up the notebook in Google Colab using your google account.

  2. Place the custom dataset and annotations in your google drive.

  3. Mount your drive and execute the notebook cells to train and test the models.

    from google.colab import drive
    drive.mount('/content/drive')

License

Distributed under the MIT License.

You can view the Jupyter Notebook here.

About

ID card classification and segmentation using MaskRCNN in PyTorch with ResNet18 and ResNet50 backbones.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%