Context
BirdDex AI turns bird photography into a local discovery/collection experience. Users capture an image, review a suggested species, and confirm or mark it unknown.
The model intentionally covers 10 Brazilian species. It demonstrates browser ML and gamification within that limited scope.
Challenge
Demonstrate the complete ML lifecycle without a backend inference service.
The experience needed engaging collection mechanics while making model uncertainty and the 10-species limit clear.
Approach
A layered Next.js PWA separates product rules from infrastructure. An iNaturalist pipeline trains MobileNetV3 Small at 224×224 and exports TensorFlow.js artifacts.
Evaluation uses 300 test examples across 10 classes. Inference stays in the browser; human confirmation precedes saved discoveries.
Profiles, species unlocking, progress, and history turn classification into an observation loop.
Workflow
- 01
Capture a bird
Use the browser camera to create an observation without uploading it to an inference API.
- 02
Prepare locally
Resize and normalize the image through browser APIs for the TensorFlow.js model.
- 03
Run browser inference
Classify the observation against the current 10-species model entirely on the device.
- 04
Confirm or reject
Let the observer confirm the suggestion or mark the capture as unknown.
- 05
Unlock the BirdDex
Store the confirmed discovery locally and reveal its species profile and collection history.

Capabilities
Web-first PWA with in-app camera capture and standalone app behavior.
ML Engineering pipeline with iNaturalist curation, MobileNetV3 training, validation, and TensorFlow.js export.
Fully client-side inference with no backend model API.
Local-first BirdDex collection with discovered, undiscovered, unknown, feedback, and capture history states.
Pokédex-inspired species unlocking, profiles, progress, and collection loop.
Human confirmation boundary before a model suggestion becomes a recorded discovery.
Results
The working demo runs image classification entirely in the browser through TensorFlow.js.
The current classifier covers 10 Brazilian bird species and was evaluated on 300 test examples across those 10 classes.
The current evaluation reached 82.33% top-1 and 99.00% top-5 accuracy.
33.33% of examples fell below the 0.55 confidence threshold.
These are bounded test-set results, not a field-identification guarantee.
The developer community provided positive qualitative feedback, including a suggestion to expand the model.
The broader private model path targets 10,000+ species with image and audio inputs.
Audio identification, geolocation-assisted ranking, and the expanded collection experience remain future work.
Decisions & trade-offs
Trade-offs
Client-side inference avoids an inference backend and keeps images on the device.
However, model size, memory, startup time, and browser compute impose a much tighter capacity envelope than server-side inference.
Limiting the first model to 10 species made training, validation, export, and product integration achievable for a portfolio experiment.
However, intentionally prevents the demo from acting as a general bird identifier.
A Pokédex-inspired loop makes observation more engaging.
However, model suggestions must remain subordinate to human confirmation so gamification does not present uncertain classifications as scientific fact.
Problems solved
Demonstrated an end-to-end ML classification workflow without a backend inference API.
Converted an offline TensorFlow training pipeline into TensorFlow.js artifacts usable by a web application.
Integrated camera capture, image preprocessing, predictions, and confidence into one browser flow.
Handled model uncertainty through confirmation and unknown states before storing a discovery.
Turned a technical classifier into a collectible birdwatching experience with profiles, progress, and history.
