🦋 Butterfly Classifier

Upload a photo to see the top-k predictions with confidences.

Device

Using device: cpu (auto-selected)

Best results

  • Single butterfly, centered, sharp focus
  • Plain/clean background; avoid heavy clutter
  • Show full wings; crop out large borders
  • Good lighting; avoid harsh shadows or filters
  • JPG/PNG around 800–1200 px on the short side

Disclaimer: This demo uses a research model trained on a fixed dataset.
Predictions may be wrong—treat results as suggestions, not definitive IDs.
Privacy: Images are processed in memory and not stored.

1 5

How it works

  1. Your image is resized and normalized (ImageNet stats).
  2. A pretrained VGG16 backbone with a small classifier head runs inference.
  3. We show the Top-k species with confidence scores.

Model & data

  • Backbone: VGG16 (transfer learning)
  • Classes: 75 species
  • Inference: CPU by default; GPU if available (Auto)