Updated
This commit is contained in:
@@ -18,10 +18,13 @@ python3 photo_tagger.py scan /path/to/your/photos
|
||||
# 3. Process faces
|
||||
python3 photo_tagger.py process
|
||||
|
||||
# 4. Identify faces interactively
|
||||
python3 photo_tagger.py identify
|
||||
# 4. Identify faces with visual display
|
||||
python3 photo_tagger.py identify --show-faces
|
||||
|
||||
# 5. View statistics
|
||||
# 5. Auto-match faces across photos
|
||||
python3 photo_tagger.py auto-match --show-faces
|
||||
|
||||
# 6. View statistics
|
||||
python3 photo_tagger.py stats
|
||||
```
|
||||
|
||||
@@ -77,19 +80,32 @@ python3 photo_tagger.py process --limit 20 --model cnn
|
||||
python3 photo_tagger.py process --limit 100 --model hog
|
||||
```
|
||||
|
||||
### Identify Faces
|
||||
### Identify Faces (Enhanced!)
|
||||
```bash
|
||||
# Identify 20 faces interactively
|
||||
python3 photo_tagger.py identify
|
||||
# Identify with individual face display (RECOMMENDED)
|
||||
python3 photo_tagger.py identify --show-faces --batch 10
|
||||
|
||||
# Identify 10 faces at a time
|
||||
# Traditional mode (coordinates only)
|
||||
python3 photo_tagger.py identify --batch 10
|
||||
|
||||
# Auto-match faces across photos (NEW!)
|
||||
python3 photo_tagger.py auto-match --show-faces
|
||||
|
||||
# Auto-identify high-confidence matches
|
||||
python3 photo_tagger.py auto-match --auto --show-faces
|
||||
```
|
||||
|
||||
**Interactive commands during identification:**
|
||||
**Enhanced identification features:**
|
||||
- 🖼️ **Individual face crops** - See exactly which face you're identifying
|
||||
- 🔍 **Side-by-side comparisons** - Visual matching across photos
|
||||
- 📊 **Confidence scoring** - Know how similar faces are
|
||||
- 🎯 **Smart cross-photo matching** - Find same people in different photos
|
||||
- 🧹 **Auto cleanup** - No temporary files left behind
|
||||
|
||||
**Interactive commands:**
|
||||
- Type person's name to identify
|
||||
- `s` = skip this face
|
||||
- `q` = quit
|
||||
- `q` = quit
|
||||
- `list` = show known people
|
||||
|
||||
### Add Tags
|
||||
@@ -116,7 +132,7 @@ python3 photo_tagger.py search "Joh"
|
||||
python3 photo_tagger.py stats
|
||||
```
|
||||
|
||||
## 📊 Example Workflow
|
||||
## 📊 Enhanced Example Workflow
|
||||
|
||||
```bash
|
||||
# ALWAYS activate virtual environment first!
|
||||
@@ -131,13 +147,16 @@ python3 photo_tagger.py process --limit 20
|
||||
# 3. Check what we found
|
||||
python3 photo_tagger.py stats
|
||||
|
||||
# 4. Identify some faces
|
||||
python3 photo_tagger.py identify --batch 10
|
||||
# 4. Identify faces with visual display (ENHANCED!)
|
||||
python3 photo_tagger.py identify --show-faces --batch 10
|
||||
|
||||
# 5. Search for photos of someone
|
||||
# 5. Auto-match faces across photos (NEW!)
|
||||
python3 photo_tagger.py auto-match --show-faces
|
||||
|
||||
# 6. Search for photos of someone
|
||||
python3 photo_tagger.py search "Alice"
|
||||
|
||||
# 6. Add some tags
|
||||
# 7. Add some tags
|
||||
python3 photo_tagger.py tag --pattern "birthday"
|
||||
```
|
||||
|
||||
@@ -274,13 +293,15 @@ python3 -m venv venv && source venv/bin/activate && python3 setup.py
|
||||
# Daily usage - Option 1: Use run script (automatic venv activation)
|
||||
./run.sh scan ~/Pictures --recursive
|
||||
./run.sh process --limit 50
|
||||
./run.sh identify --batch 10
|
||||
./run.sh identify --show-faces --batch 10
|
||||
./run.sh auto-match --show-faces
|
||||
./run.sh stats
|
||||
|
||||
# Daily usage - Option 2: Manual venv activation
|
||||
# Daily usage - Option 2: Manual venv activation (ENHANCED)
|
||||
source venv/bin/activate
|
||||
python3 photo_tagger.py scan ~/Pictures --recursive
|
||||
python3 photo_tagger.py process --limit 50
|
||||
python3 photo_tagger.py identify --batch 10
|
||||
python3 photo_tagger.py identify --show-faces --batch 10
|
||||
python3 photo_tagger.py auto-match --show-faces
|
||||
python3 photo_tagger.py stats
|
||||
```
|
||||
Reference in New Issue
Block a user