Giter Site home page Giter Site logo

wuxiaolianggit / ctw-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jjaacckkyy63/chinese-text-detection-pytorch

0.0 1.0 0.0 12.9 MB

Simplified Chinese text recognition implementation with yolov3 and pytorch

Python 92.82% Jupyter Notebook 7.18%

ctw-pytorch's Introduction

Recognize Chinese Characters on Traffic Signs

YOLOv3

Requirements

Python 3.7 or later with the following pip3 install -U -r requirements.txt packages:

  • numpy
  • torch >= 1.0.0
  • opencv-python

Training

Gtx 1080 ti 12G RAM * 1

Start Training: Run train.py to begin training

Transfer Learning Run train.py --resume to start from pretrained weight

Multi-Scale Run train.py --multi-scale

num of class

  1. traffic sign detection : 3 classes
  2. Chinese text : 1 class

Image Augmentation Detail

Reference

Aug. Description
Translation +/- 10% (vertical and horizontal)
Rotation +/- 5 degrees
Shear +/- 2 degrees (vertical and horizontal)
Scale +/- 10%
Reflection 50% probability (horizontal-only)
HSV Saturation +/- 50%
HSV Intensity +/- 50%
Distortation +/- 30%

Inference

Please put test images into yolov3/data/samples result will appear in output/ Run detect.py to apply trained weights to an image

Performance

Run test.py to validate

  1. Red-Round Traffic Sign Detection

(from TSRD dataset of NSFC)

127 epoches

  1. Text Detection 50 epoch training details :
num of epoch resolution
1-15 416x416
16-35 608x608
36-50 608-960(multi-scale)

Issues and future work

  1. Multi-GPU training
  2. Text detection and classification
  3. Combine with specific type of sign

ctw-pytorch's People

Contributors

jjaacckkyy63 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.