GithubHelp home page GithubHelp logo

cheally / industrialcharrecognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weisupreme/industrialcharrecognition

0.0 0.0 0.0 64.85 MB

基于opencv的工业现场液体饮料包装上的喷码检测与识别系统

C++ 92.99% C 7.01%

industrialcharrecognition's Introduction

基于opencv的工业现场液体饮料包装的字符(喷码)识别系统

created by zhuwei

github: https://github.com/weiSupreme/IndustrialCharRecognition

email: [email protected](@hnu.edu.cn)

blog: https://52ai.site

2018.08.18

开发环境:vs2013,opencv3.4

  目前利用opencv识别字符的项目和代码很多,但主要针对车牌识别。对于工业现场如易拉罐字符识别等,opencv的代码较少,halcon居多,而且能找到的代码都是处理背景非常简单的图片。halcon在企业用的多,但opencv更适合学术之用。本着学习opencv和C++的目的,创建了这个项目。本项目从易到难,先从最简单的图片开始,一步一步往复杂背景方向靠拢。项目中参考了许多网上的代码和博客,相应代码处都给出了原博文链接,在此表示感谢。

准备数据

  下图是经过打光处理的易拉罐罐底图片,项目首先处理这一类的图片。(为了排版,缩小了图片,原图在代码文件夹内,路径为:“IndustrialCharRecognition/CharRecognition/CharRecognition/images/”。图片为8位灰度图片)

待处理图片

三张图片依次为:滤波结果,分割结果,形态学处理结果:

滤波结果分割结果形态学处理结果

三张图片依次为:文字区域定位结果,旋转结果,重新定位结果:

文字区域定位结果旋转结果重新定位结果

三张图片依次为:缩小区域,单字符分割,单字符识别:

缩小区域单字符分割单字符识别

如果此项目对你略有帮助,请右上点击 star。谢谢!

industrialcharrecognition's People

Contributors

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