From 64c9c2f4521eb0a4809dfc335e2288aa0f732d14 Mon Sep 17 00:00:00 2001 From: yakhyo Date: Sun, 16 Mar 2025 17:52:41 +0900 Subject: [PATCH] chore: Update README and remove scripts --- README.md | 3 +++ scripts/release.sh | 23 ----------------------- 2 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 scripts/release.sh diff --git a/README.md b/README.md index 5ee2fca..edd3d9b 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ original_image = cv2.imread(image_path) # Perform inference boxes, landmarks = uniface_inference.detect(original_image) +# boxes: [x_min, y_min, x_max, y_max, confidence] # Visualize results draw_detections(original_image, (boxes, landmarks), vis_threshold=0.6) @@ -126,6 +127,8 @@ while True: # Perform inference boxes, landmarks = uniface_inference.detect(frame) + # 'boxes' contains bounding box coordinates and confidence scores: + # Format: [x_min, y_min, x_max, y_max, confidence] # Draw detections on the frame draw_detections(frame, (boxes, landmarks), vis_threshold=0.6) diff --git a/scripts/release.sh b/scripts/release.sh deleted file mode 100644 index ec30f3b..0000000 --- a/scripts/release.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# Exit on errors -set -e - -cd "$(dirname "$0")"/.. - -echo "Deleting existing release-related files..." -rm -rf dist/ build/ *.egg-info - -pip install --upgrade pip -pip install twine - -echo "Creating a package for the current release (PyPI compatible)..." -python3 setup.py sdist bdist_wheel - -echo "Release package created successfully in the 'dist/' folder." - - -echo "Uploading the package to PyPI..." -twine upload dist/* - -echo "Release uploaded successfully!" \ No newline at end of file