Giter VIP home page Giter VIP logo

teyvatocr's Introduction

简介

本项目基于EasyOCRABINet 实现,EasyOCR提供文本检测和定位框架,ABINet识别文本内容。

数据集基于米游社''采薇东篱夏''制作的提瓦特字体 使用TextRecognitionDataGenerator 自动生成得到。 数据集生成过程中使用albumentations 库进行数据增强,提高模型泛化能力。

数据集制作

运行命令

cd data_gen
python text_gen.py

生成数据集,缺什么库安装什么就行。

使用

预训练模型:

链接:https://pan.baidu.com/s/1TrXBIybAO6-WmXHzzn0krw 提取码:e3ah

放入ABINet文件夹中

识别图片

python demo_image.py -p <文件路径>
python demo_image.py -p <文件路径> --step #生成检测视频

识别视频

python demo_video.py -p <文件路径>

识别效果

teyvatocr's People

Contributors

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