b7d77703f5
原因是当图片高度或宽度低于一定值后,检测算法难以执行检测 经过测试,图片的短边大于等于64的时候即可满足检测算法的要求 修改方法为在预先缩减图片尺寸后,进一步判断图片的短边是否符合大于等于64的要求,对不符合的执行第二次尺寸计算 Log: 修复长条图片无法检测到文本 |
||
---|---|---|
.github/workflows | ||
.tx | ||
3rdparty | ||
assets | ||
debian | ||
src | ||
tests | ||
translations | ||
.gitignore | ||
build3rdparty.sh | ||
CMakeLists.txt | ||
com.deepin.Ocr.service | ||
deepin-ocr.desktop | ||
LICENSE | ||
README.md | ||
resource.qrc |
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
- 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
- Build:
$ cd deepin-album
$ mkdir Build
$ cd Build
$ cmake ..
$ make
- 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
- Contribution guide for developers (English)
- 开发者代码贡献指南 (中文)
License
deepin-ocr is licensed under [GPLv3](