GithubHelp home page GithubHelp logo

rathorology / fots_tf1.150 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 321 KB

Vehicle license plate detection on cropped images of license plate

License: GNU General Public License v3.0

Python 18.25% Makefile 0.05% C++ 81.71%
fots ocr-recognition ocr-detection tensorflow

fots_tf1.150's Introduction

Fast Oriented Text Spotting with a Unified Networks

Introduction

This is an use of FOTS: Fast Oriented Text Spotting with a Unified Network

Install

  • Python3.5
  • tensorflow 1.12.0
  • OpenCV
pip install -r requirements.txt
git clone -b dev https://github.com/Pay20Y/FOTS_TF.git

Extract images to one location

python3 uniform_images.py

Make annotation for training in FOTS format

python3 make_annotation.py

Used pretrained model to train

SynthText 6-epochs pretrained model can be found here

Train

python3 main_train.py --gpu_list='-1' --learning_rate=0.0001 --train_stage=2 --training_data_dir=data --training_gt_data_dir=annotation

train_shots/10.png train_shots/20.png train_shots/40.png train_shots/60.png train_shots/80.png train_shots/100.png

Test

python3 main_test.py --gpu_list='-1' --test_data_path=/path/to/testset/ --checkpoint_path=checkpoints/

Align results with ground truth for train and test data

python3 final_output.py

Evaluate model on test

python3 evaluation.py

Test Accuray

72.21%

Metric for evaluation

Percentage match of strings

fots_tf1.150's People

Watchers

 avatar

fots_tf1.150's Issues

Data Directory

Can you please mention about "How to set data directory?

Thank you.

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.