- Pipeline: analyze(), redact(), analyze_image() methods - API: /analyze, /redact, /analyze/frame, /analyze/frame/base64 endpoints - Detectors: regex, NER, face (RKNN NPU) - Privacy frame route added for KVM-Privacy Hub integration
39 lines
809 B
TOML
39 lines
809 B
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "info-privacy"
|
|
version = "0.1.0"
|
|
description = "Document privacy redaction service for Rockchip RKNN"
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"fastapi>=0.110.0",
|
|
"uvicorn>=0.29.0",
|
|
"python-multipart>=0.0.9",
|
|
"pdfminer.six>=20221105",
|
|
"pypdf>=4.0.0",
|
|
"python-docx>=1.1.0",
|
|
"openpyxl>=3.1.0",
|
|
"opencv-python>=4.5.5.64",
|
|
"numpy>=1.24.0",
|
|
"pyyaml>=6.0",
|
|
"pyclipper>=1.3.0",
|
|
"shapely>=2.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
"httpx>=0.27.0",
|
|
"ruff>=0.4.0",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|