Yandrik
d9eb6f1c64
Implemented optical character recognition (OCR) in the image_to_anki function to vastly enhance performance. Additionally, allowed batch processing of images via explicitly specified batch size in command-line arguments
21 lines
449 B
TOML
21 lines
449 B
TOML
[tool.poetry]
|
|
name = "anki-from-dictionary"
|
|
version = "0.1.0"
|
|
description = "GPT-4V application to extract Anki cards from dictionaries"
|
|
authors = ["Yandrik <me@yandrik.dev>"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
openai = "^1.10.0"
|
|
requests = "^2.31.0"
|
|
pillow = "^10.2.0"
|
|
pdf2image = "^1.17.0"
|
|
pytesseract = "^0.3.10"
|
|
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|