Command Palette

Search for a command to run...

Назад к скиллам
скилл № 48538

photo-content-recognition-curation-expert

Expert in photo content recognition, intelligent curation, and quality filtering. Specializes in face/animal/place recognition, perceptual hashing for…

БесплатноБез исполняемых скриптов
curiositechот curiositech★ 283 звезды на GitHub14 установок в других каталогах

Установить photo-content-recognition-curation-expert в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Photo Content Recognition & Curation Expert

Expert in photo content analysis and intelligent curation. Combines classical computer vision with modern deep learning for comprehensive photo analysis.

When to Use This Skill

✅ Use for:

  • Face recognition and clustering (identifying important people)
  • Animal/pet detection and clustering
  • Near-duplicate detection using perceptual hashing (DINOHash, pHash, dHash)
  • Burst photo selection (finding best frame from 10-50 shots)
  • Screenshot vs photo classification
  • Meme/download filtering
  • NSFW content detection
  • Quick indexing for large photo libraries (10K+)
  • Aesthetic quality scoring (NIMA)

❌ NOT for:

  • GPS-based location clustering → event-detection-temporal-intelligence-expert
  • Color palette extraction → color-theory-palette-harmony-expert
  • Semantic image-text matching → clip-aware-embeddings
  • Video analysis or frame extraction

Quick Decision Tree

What do you need to recognize/filter?
│
├─ Duplicate photos? ─────────────────────────────── Perceptual Hashing
│   ├─ Exact duplicates? ──────────────────────────── dHash (fastest)
│   ├─ Brightness/contrast changes? ───────────────── pHash (DCT-based)
│   ├─ Heavy crops/compression? ───────────────────── DINOHash (2025 SOTA)
│   └─ Production system? ─────────────────────────── Hybrid (pHash → DINOHash)
│
├─ People in photos? ─────────────────────────────── Face Clustering
│   ├─ Known thresholds? ──────────────────────────── Apple-style Agglomerative
│   └─ Unknown data distribution? ─────────────────── HDBSCAN
│
├─ Pets/Animals? ─────────────────────────────────── Pet Recognition
│   ├─ Detection? ─────────────────────────────────── YOLOv8
│   └─ Individual clustering? ─────────────────────── CLIP + HDBSCAN
│
├─ Best from burst? ──────────────────────────────── Burst Selection
│   └─ Score: sharpness + face quality + aesthetics
│
└─ Filter junk? ──────────────────────────────────── Content Detection
    ├─ Screenshots? ───────────────────────────────── Multi-signal classifier
    └─ NSFW? ──────────────────────────────────────── Safety classifier

Core Concepts

1. Perceptual Hashing for Near-Duplicate Detection

Problem: Camera bursts, re-saved images, and minor edits create near-duplicates.

Solution: Perceptual hashes generate similar values for visually similar images.

Method Comparison:

Method Speed Robustness Best For
dHash Fastest Low Exact duplicates
pHash Fast Medium Brightness/contrast changes
DINOHash Slower High Heavy crops, compression
Hybrid Medium Very High Production systems

Hybrid Pipeline (2025 Best Practice):

  1. Stage 1: Fast pHash filtering (eliminates obvious non-duplicates)
  2. Stage 2: DINOHash refinement (accurate detection)
  3. Stage 3: Optional Siamese ViT verification

Hamming Distance Thresholds:

  • Conservative: ≤5 bits different = duplicates
  • Aggressive: ≤10 bits different = duplicates

→ Deep dive: references/perceptual-hashing.md


2. Face Recognition & Clustering

Goal: Group photos by person without user labeling.

Apple Photos Strategy (2021-2025):

  1. Extract face + upper body embeddings (FaceNet, 512-dim)
  2. Two-pass agglomerative clustering
  3. Conservative first pass (threshold=0.4, high precision)
  4. HAC second pass (threshold=0.6, increase recall)
  5. Incremental updates for new photos

HDBSCAN Alternative:

  • No threshold tuning required
  • Robust to noise
  • Better for unknown data distributions

Parameters:

Setting Agglomerative HDBSCAN
Pass 1 threshold 0.4 (cosine) -
Pass 2 threshold 0.6 (cosine) -
Min cluster size - 3 photos
Metric cosine cosine

→ Deep dive: references/face-clustering.md


3. Burst Photo Selection

Problem: Burst mode creates 10-50 nearly identical photos.

Multi-Criteria Scoring:

Criterion Weight Measurement
Sharpness 30% Laplacian variance
Face Quality 35% Eyes open, smiling, face sharpness
Aesthetics 20% NIMA score
Position 10% Middle frames bonus
Exposure 5% Histogram clipping check

Burst Detection: Photos within 0.5 seconds of each other.

→ Deep dive: references/content-detection.md


4. Screenshot Detection

Multi-Signal Approach:

Signal Confidence Description
UI elements 0.85 Status bars, buttons detected
Perfect rectangles 0.75 >5 UI buttons (90° angles)
High text 0.70 >25% text coverage (OCR)
No camera EXIF 0.60 Missing Make/Model/Lens
Device aspect 0.60 Exact phone screen ratio
Perfect sharpness 0.50 >2000 Laplacian variance

Decision: Confidence >0.6 = screenshot

→ Deep dive: references/content-detection.md


Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Read
  2. 02Write
  3. 03Edit
  4. 04Bash
  5. 05Grep
  6. 06Glob
  7. 07mcp__firecrawl__firecrawl_search
  8. 08WebFetch

Вложенные файлы

  • .claude-plugin/plugin.json
  • CHANGELOG.md
  • references/content-detection.md
  • references/face-clustering.md
  • references/perceptual-hashing.md
  • references/photo-indexing.md

FAQ

Что делает скилл photo-content-recognition-curation-expert?

Expert in photo content recognition, intelligent curation, and quality filtering. Specializes in face/animal/place recognition, perceptual hashing for de-duplication, screenshot/meme detection, burst photo selection, and quick indexing strategies. Activate on 'face recognition', 'face clustering', 'perceptual hash', 'near-duplicate', 'burst photo', 'screenshot detection', 'photo curation', 'photo indexing', 'NSFW detection', 'pet recognition', 'DINOHash', 'HDBSCAN faces'. NOT for GPS-based location clustering (use event-detection-temporal-intelligence-expert), color palette extraction (use color-theory-palette-harmony-expert), semantic image-text matching (use clip-aware-embeddings), or video analysis/frame extraction.

Как установить скилл photo-content-recognition-curation-expert?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл photo-content-recognition-curation-expert запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить photo-content-recognition-curation-expert с