-
Notifications
You must be signed in to change notification settings - Fork 94
/
pyproject.toml
49 lines (40 loc) · 1.1 KB
/
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
43
44
45
46
47
48
49
[build-system]
requires = ["setuptools>=67.6", "wheel", "setuptools-scm[toml]>=7.1"]
build-backend = "setuptools.build_meta"
[project]
name = "deface"
requires-python = ">=3.8"
description = "Video anonymization by face detection"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
]
dynamic = ["version"]
dependencies = [
"imageio>=2.25",
"imageio-ffmpeg>=0.4.6",
"numpy",
"tqdm",
"scikit-image",
"opencv-python",
]
[project.optional-dependencies]
cuda = ["onnx", "onnxruntime-cuda"]
directml = ["onnx", "onnxruntime-directml"]
openvino = ["onnx", "onnxruntime-openvino"]
[project.scripts]
deface = "deface.deface:main"
[tool.setuptools]
packages = ["deface"]
[tool.setuptools.package-data]
deface = ["centerface.onnx"]
[tool.setuptools_scm]
write_to = "deface/_version.py"
[tool.ruff]
line-length = 120
[project.urls]
repository = "https://github.com/ORB-HD/deface"