wzyforgit b7d77703f5
fix: 修复长条图片无法检测到文本 (#5)
原因是当图片高度或宽度低于一定值后,检测算法难以执行检测
经过测试,图片的短边大于等于64的时候即可满足检测算法的要求
修改方法为在预先缩减图片尺寸后,进一步判断图片的短边是否符合大于等于64的要求,对不符合的执行第二次尺寸计算

Log: 修复长条图片无法检测到文本
2022-05-27 08:22:58 +00:00
2021-09-09 11:20:59 +08:00
2021-06-10 17:34:45 +08:00

deepin-ocr

Deepin ocr is a .

Dependencies

Build dependencies

The master branch is current development branch, build dependencies may changes without update README.md, refer to ./debian/control for a working build depends list

  • pkg-config
  • libdtkwidget-dev
  • Qt5(>=5.6) with modules:
    • qt5-default
    • qt5-qmake
    • qtbase5-dev

Installation

Build from source code

  1. Make sure you have installed all dependencies.

Package name may be different between distros, if dde-file-manager is available from your distro, check the packaging script delivered from your distro is a better idea.

Assume you are using Deepin or other debian-based distro which got dde-file-manager delivered:

$ apt build-dep deepin-ocr
  1. Build:
$ cd deepin-album
$ mkdir Build
$ cd Build
$ cmake ..
$ make
  1. Install:
$ sudo make install

The executable binary file could be found at /usr/bin/deepin-ocr

Usage

Execute deepin-ocr

Documentations

Getting help

Getting involved

We encourage you to report issues and contribute changes

License

deepin-ocr is licensed under [GPLv3](

Description
No description provided
Readme 171 MiB
Languages
C++ 92.4%
CMake 5.1%
Shell 2.5%