forked from VikParuchuri/surya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
42 lines (38 loc) · 991 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
33
34
35
36
37
38
39
40
41
42
[tool.poetry]
name = "surya-ocr"
version = "0.1.5"
description = "Document OCR models for multilingual text detection and recognition"
authors = ["Vik Paruchuri <vik.paruchuri@gmail.com>"]
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/VikParuchuri/surya"
keywords = ["ocr", "pdf", "text detection", "text recognition"]
packages = [
{include = "surya"}
]
include = [
"detect_text.py",
]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
transformers = "^4.36.2"
torch = "^2.1.2"
pydantic = "^2.5.3"
pydantic-settings = "^2.1.0"
python-dotenv = "^1.0.0"
pillow = "^10.2.0"
pypdfium2 = "^4.25.0"
opencv-python = "^4.9.0.80"
tabulate = "^0.9.0"
filetype = "^1.2.0"
[tool.poetry.group.dev.dependencies]
jupyter = "^1.0.0"
pytesseract = "^0.3.10"
pymupdf = "^1.23.8"
snakeviz = "^2.2.0"
datasets = "^2.16.1"
[tool.poetry.scripts]
surya_detect = "detect_text:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"