Giter VIP home page Giter VIP logo

simple_chinese_character_recognition_and_localization's Introduction

Simple Chinese Character Recognition and Localization

Overview

This project is collaboration with Shu-Yu, Li. The goal of this project is to recognize and localize the multiple chinese characters from one to ten on an image(from webcam), and then we can change their font from our "font" dataset. We collect some hand-writing and computer font chinese characters from one to ten in order to train a SVM model to recognize characters. Besides, we also design an algorithm to localize the characters position. Then we can use above to implement Simple Chinese Character recognition and localization.

Demo

Dataset

  1. "data" folder:Including hand-writing and computer font chinese characters from one to ten to train SVM
  2. "font" folder:Including 10 different computer font

Training

  1. Using hog.py to collect all the chinese characters feature in the "data".
  2. Using svm.py to train a model in order to recognize characters.

Testing

  1. Using main.py to testing the image from webcam, and then our algorithm can change the chinese from input image.  [Note] "function_ver2.py" is used for localization

Result

1. Flow Chart


2. Some Results

  • first image is input image
  • second image is localization
  • third image is result

Requirements

  • openCV, skimage, matplotlib, scipy
  • sklearn, cyvlfeat

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.