-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
32 lines (29 loc) · 907 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tool.poetry]
name = "my_little_ocr"
version = "0.1.0"
description = ""
authors = ["X-T-E-R <brad8088088@gmail.com>"]
license = "mit"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
pydantic = "^2.9.2"
numpy = "<2.0"
gitpython = "^3.1.43"
iso639-lang = "^2.4.2"
opencv-python = "^4.10.0.84"
pytesseract = {version = "^0.3.13", optional = true}
easyocr = {version = "^1.7.2", optional = true}
wechat-ocr = {version = "^0.0.3", optional = true}
surya-ocr = {version = "^0.5.0", optional = true}
rapidocr-onnxruntime = {version = "^1.3.24", optional = true}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.extras]
tesseract = ["pytesseract"]
easyocr = ["easyocr"]
wechat_ocr = ["wechat_ocr"]
surya = ["surya-ocr"]
rapidocr = ["rapidocr_onnxruntime"]
all = ["pytesseract", "easyocr", "wechat_ocr", "surya-ocr", "rapidocr_onnxruntime"]