chore: rename project from faceblur-poc to py-faceblur

This commit is contained in:
fiatcode 2026-02-28 10:21:45 +07:00
parent 9667431406
commit dd2b0ad16d
3 changed files with 30 additions and 30 deletions

View file

@ -22,7 +22,7 @@ An interactive command-line tool that automatically detects, clusters, and blurs
```bash
# Clone the repository and navigate to the project directory
cd faceblur-poc
cd py-faceblur
# Sync dependencies using uv
uv sync
@ -44,10 +44,10 @@ uv run pyfaceblur
4. **Selection:** The app saves a thumbnail of each person to a temporary folder, opens it, and asks you to select which people to blur using interactive checkboxes.
5. **Encoding:** The app finds the best available video encoder on your system, applies the chosen blur method to the selected faces, interpolates their movement, and generates a new `*_blurred.mp4` video.
## Advanced / POC CLI
## Advanced / Legacy CLI
The original proof-of-concept command-line interface is also still available for purely extracting and debugging the clustering outputs into an output folder.
```bash
uv run faceblur-poc detect --video input.mp4 --output ./output --interval 30 --confidence 0.7
uv run pyfaceblur-legacy detect --video input.mp4 --output ./output --interval 30 --confidence 0.7
```

View file

@ -1,7 +1,7 @@
[project]
name = "faceblur-poc"
version = "0.1.0"
description = "Face detection and clustering POC"
name = "py-faceblur"
version = "1.0.0"
description = "Interactive CLI for face detection, clustering, and blurring in video"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
@ -14,8 +14,8 @@ dependencies = [
]
[project.scripts]
faceblur-poc = "faceblur.cli:main"
pyfaceblur = "faceblur.app:run"
pyfaceblur-legacy = "faceblur.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/faceblur"]

46
uv.lock generated
View file

@ -93,29 +93,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
]
[[package]]
name = "faceblur-poc"
version = "0.1.0"
source = { editable = "." }
dependencies = [
{ name = "numpy" },
{ name = "opencv-python" },
{ name = "questionary" },
{ name = "rich" },
{ name = "scikit-learn" },
{ name = "uniface" },
]
[package.metadata]
requires-dist = [
{ name = "numpy" },
{ name = "opencv-python" },
{ name = "questionary" },
{ name = "rich" },
{ name = "scikit-learn" },
{ name = "uniface" },
]
[[package]]
name = "flatbuffers"
version = "25.12.19"
@ -464,6 +441,29 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a4/e7/14dc9366696dcb53a413449881743426ed289d687bcf3d5aee4726c32ebb/protobuf-7.34.0-py3-none-any.whl", hash = "sha256:e3b914dd77fa33fa06ab2baa97937746ab25695f389869afdf03e81f34e45dc7", size = 170716, upload-time = "2026-02-27T00:30:23.994Z" },
]
[[package]]
name = "py-faceblur"
version = "1.0.0"
source = { editable = "." }
dependencies = [
{ name = "numpy" },
{ name = "opencv-python" },
{ name = "questionary" },
{ name = "rich" },
{ name = "scikit-learn" },
{ name = "uniface" },
]
[package.metadata]
requires-dist = [
{ name = "numpy" },
{ name = "opencv-python" },
{ name = "questionary" },
{ name = "rich" },
{ name = "scikit-learn" },
{ name = "uniface" },
]
[[package]]
name = "pygments"
version = "2.19.2"