From dd2b0ad16d98c149e5ac8cac7d99e3e75a5bee8f Mon Sep 17 00:00:00 2001 From: fiatcode Date: Sat, 28 Feb 2026 10:21:45 +0700 Subject: [PATCH] chore: rename project from faceblur-poc to py-faceblur --- README.md | 6 +++--- pyproject.toml | 8 ++++---- uv.lock | 46 +++++++++++++++++++++++----------------------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 0991b0f..e15d0d2 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/pyproject.toml b/pyproject.toml index 5cf15bc..1bcecb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] diff --git a/uv.lock b/uv.lock index ce84e71..52aaa8f 100644 --- a/uv.lock +++ b/uv.lock @@ -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"