-
Grey Heron on the shore. Original photo, detected bird box, and the crop used for species identification.
-
Little Grebe on the water. Original photo, detected bird box, and the crop used for species identification.
-
Yushi's Windows interface showing a Little Grebe detection, the crop used for identification, and the ranked species candidates.
Inspiration
When I review a bird photo, the first question is often where to look. A bird can occupy a small part of the frame, and a photo with several birds can need several identifications. I built Yushi (羽识) to give birdwatchers and educators a way to find each bird, inspect the same crop the classifier sees, and keep a record for later review.
What it does
Yushi is designed primarily for identifying birds found in China. Its reference list includes 1,343 candidate species.
Yushi processes batches of photos in a local Windows desktop app. It marks detected birds, suggests species for each crop, and shows a review state alongside the ranked candidates. An uncertain identification keeps its detection box, so the user can still inspect the bird. The app saves the annotated image, per-bird crops, and structured results. Image processing runs on the user’s computer.
How I built it
A frozen YOLO detector and a background verifier locate birds. The optional tiled pass looks through overlapping regions of the original photo, then screens candidates and merges duplicate boxes. Each retained box yields a square crop with 1.2× context. A fusion classifier built on BioCLIP 2 and BioCLIP 2.5 ranks species for that crop. The app exposes the detector, crop, and classifier results separately.
The detector, per-bird crop workflow, and trained classification assets were the existing baseline. My November 6 event-period release integrates the selectable tiled pass and a two-stage handoff. The tiled pass uses 640-pixel windows at a 480-pixel stride and preserves the full-image boxes. The handoff packages the initial boxes with an image checksum and detector configuration. The continuation validates the packet and reuses those boxes. The same-PC GPU test skipped the repeat initial YOLO call and rejected both a mismatched image and a tampered packet.
Challenges and what I learned
A bird can appear in more than one tile, or be partly cut off at a tile boundary. I reject candidates that touch internal tile edges and check the remaining candidates against detections from neighboring tiles and the full image. The regression taught me to measure what those extra passes actually add. In this test they preserved the existing detections, and each proposed addition was filtered out. Showing the crop and the review state also helps users judge whether a species suggestion is worth trusting.
Testing and limitations
- In the historical full-image benchmark, the first species candidate was correct for 172 of 188 photos spanning 95 species. The prior classifier scored 169 of 188 under the same setup. Photos without a box count as incorrect.
- In the November 6 regression on 197 previously used photos, full-image and tiled modes both matched 69 of 70 annotated sky birds. Both modes returned boxes in 10 of 118 negative photos, and neither gave a confirmed species on those negative photos.
- The tiled pass evaluated 999 windows and accepted zero additional boxes in that regression. I use this run as evidence that the tiled path preserves baseline detections. A recall gain remains to be demonstrated on new cases.
- The hardware handoff is a Python interface tested on one Windows PC with an RTX 5060 Laptop GPU. Deployment on a physical Raspberry Pi remains untested.
Demo and credits
The walkthrough shows two previously used iNaturalist examples. The app identified a Little Grebe (Tachybaptus ruficollis) and a Grey Heron (Ardea cinerea). Each panel uses the original photograph, the actual annotated output, and the crop passed to the classifier. These two examples illustrate the workflow.
- Little Grebe by iNaturalist user hurlbert. Photo 444658310
- Grey Heron from iNaturalist. Photo 754004838
- The bundled attribution records list both photographs as CC0 1.0.
- Model and library credits include Ultralytics YOLO (AGPL-3.0), Imageomics BioCLIP 2 and BioCLIP 2.5 (MIT), OpenCLIP (MIT), and PyTorch. The application uses frozen detection weights and classifier heads from the existing project.
- I used OpenAI Codex for AI-assisted implementation, test tooling, and preparation of the submission materials.