generated from Hazel/python-project
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[project]
|
|
name = "secure_pixelation"
|
|
version = "0.0.0"
|
|
dependencies = [
|
|
"torch==2.1.2",
|
|
"torchvision==0.16.2",
|
|
|
|
"opencv_python~=4.11.0.86",
|
|
"numpy<2.0.0",
|
|
"hf_transfer==0.1.8",
|
|
"huggingface_hub==0.25.1",
|
|
|
|
"ultralytics~=8.3.114",
|
|
]
|
|
authors = []
|
|
description = "Hiding faces with Mosaic has proven incredibly unsafe especially with videos, because the algorythm isn't destructive. However, if you black out the selected area, repopulate it with generative ai, and then pixelate it, it should look authentic, but be 100% destructive, thus safe."
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
|
|
[project.scripts]
|
|
secure-pixelation = "secure_pixelation.__main__:cli"
|
|
|
|
[build-system]
|
|
requires = ["hatchling", "hatch-requirements-txt"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build]
|
|
directory = "dist"
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = ["secure_pixelation/*.py"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["secure_pixelation"]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|