Skip to content
UsecaseBoard
← All use cases
notePhoto, audio, and video

Organize a large photo library by camera and searchable tags

At a glance

A photo owner used Claude Code to reorganize an old library, check duplicates by hash and tag image contents. This workflow is listed under Photo, audio, and video, Life admin.

Agents / tools
Claude

SourceBuilding a tool for these workflows? See weekly rates.

What they did

1) Give Claude Code access to the photo collection and define the organization rules: group files by camera model and preserve old trip-folder names as EXIF or XMP keywords. Have it identify possible duplicates, then compare file hashes before consolidating them; names and file sizes alone can match different photos. 2) Use Claude's vision API to generate content keywords and write them into the files. The author reduced batches from 1,000 images to 200 and retried after communication failures. 3) For unsupported formats, convert HEIC images to JPEG and extract embedded previews from RAW files for analysis; when a RAW file has a matching JPEG, reuse its tags. The resulting library is grouped by camera with content keywords written into the files. Implementing this requires Claude Code to build the necessary file-processing workflow and access to the vision API.

How it went

The author reported processing the library over three days, with 66,179 images receiving content tags and about $83 in API costs.

Worth knowing

The source does not provide a complete runnable script. The author found same-name, same-size files that were different photos, so hash verification mattered before deletion.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

No prompt excerpt was provided by the source.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →