Coder Social home page Coder Social logo

kavach-2023-anpr-system's Introduction

Automatic Number Plate Recognition and EasyOCR

Step 0: Environment Setup

  • conda create -n tfobjdetection pip python=3.9
  • conda activate tfobjdetection
  • pip install --ignore-installed --upgrade tensorflow==2.11.0

Step 1: Download Kaggle Dataset

  • Download Dataset via kaggle API or manually from KAGGLE
  • Follow the instructions for Downloading via Kaggle API
  • Run kaggle datasets download -d andrewmvd/car-plate-detection in the terminal where the project folder is

Step 2: Move Dataset into a Training and Testing Partition

  • Run python ./1.PrepareDataset.py locally

Step 3: Training and Detection

  • Upload file ANPR_and_EasyOCR_ColabRun_v1.ipynb in Google Colaboratory
  • Remember to Upload archive.tar file of prepared dataset in the step 2 when running ANPR_and_EasyOCR_ColabRun_v1.ipynb in the directory Tensorflow/workspace/images
  • Note down the latest checkpoint in the folder Tensorflow\workspace\models\CUSTOM_MODEL_NAME\ e.g. ckpt-100. This will be required to enter in scripts 3.DetectFromImage_EasyOCR.py, 4.DetectFromRealTimeFeed_EasyOCR.py, 5.DetectFromVideos_EasyOCR.py, app.py where LOAD_CHECKPOINT = 'ckpt-101'
  • Afer training, Download the compressed file of trained model in the project folder and uncompress it.
  • Note: 3.DetectFromImage_EasyOCR.py, 4.DetectFromRealTimeFeed_EasyOCR.py, 5.DetectFromVideos_EasyOCR.py these are optional files.

Step 4: Run the Streamlit UI

  • Run streamlit run app.py

Link to Canva Presentation of the Project

kavach-2023-anpr-system's People

Contributors

sayak-2002 avatar

Watchers

 avatar

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.