Team Ai
Datasetpublic

ebowwa/usd-side-coco-annotations

USD Side Detection Dataset (Front/Back) A refined COCO-format dataset for detecting US Dollar currency and classifying whether the front or back side is visible. Dataset Summary Total Images: 3,618 Total Annotations: 3,746 Format: COCO + HuggingFace JSONL Classes: 24 (denominations × front/back × authentic/counterfeit) Classification Accuracy: 100% (all Front/Back classified) Split Images Annotations Train 2,671 2,738 Valid 597 627 Test 350 381… See the full description on the dataset page: https://huggingface.co/datasets/ebowwa/usd-side-coco-annotations.

sourceHugging Facemitupdated 10mo agoView on Hugging Face
0likes129downloads
Dataset Card

USD Side Detection Dataset (Front/Back)

A refined COCO-format dataset for detecting US Dollar currency and classifying whether the front or back side is visible.

Dataset Summary

  • —Total Images: 3,618
  • —Total Annotations: 3,746
  • —Format: COCO + HuggingFace JSONL
  • —Classes: 24 (denominations × front/back × authentic/counterfeit)
  • —Classification Accuracy: 100% (all Front/Back classified)
SplitImagesAnnotations
Train2,6712,738
Valid597627
Test350381

Class Mapping (24 classes)

IDClassIDClass
0100USD-Back12Counterfeit 100 USD Back
1100USD-Front13Counterfeit 100 USD Front
210USD-Back14Counterfeit 10USD Back
310USD-Front15Counterfeit 10USD Front
41USD-Back16Counterfeit 1USD Back
51USD-Front17Counterfeit 1USD Front
620USD-Back18Counterfeit 20USD Back
720USD-Front19Counterfeit 20USD Front
850USD-Back20Counterfeit 50USD Back
950USD-Front21Counterfeit 50USD Front
105USD-Back22Counterfeit 5USD Back
115USD-Front23Counterfeit 5USD Front

Breakdown:

  • —12 Regular USD: Front/Back for $1, $5, $10, $20, $50, $100
  • —12 Counterfeit USD: Front/Back for $1, $5, $10, $20, $50, $100

Note: All $2 bills and generic annotations removed - only Front/Back classified data remains.

Annotation Refinement

This dataset was refined using Roboflow's usd-classification/1 model:

Phase 1: Regular USD ✅

  • —Reclassified 2,236 generic labels to Front/Back variants
  • —97% success rate

Phase 2: Counterfeit USD ✅

  • —Reclassified 943 counterfeit annotations across all splits (train/valid/test)
  • —97.8% success rate (269/275 in valid/test, 674/762 in train)
  • —Only 13 annotations remain generic (SSL errors during classification)

Phase 3: Data Cleaning ✅

  • —Removed 289 $2 bill annotations (146 regular + 143 counterfeit)
  • —Reason: Model lacks "two-front"/"two-back" classes, generalization only 75% accurate

Final Statistics

  • —3,746 annotations - 100% classified to Front/Back
  • —24 classes - 12 regular + 12 counterfeit
  • —0 $2 bills (all 289 removed - 146 regular + 143 counterfeit)

Usage

python
from datasets import load_dataset

dataset = load_dataset("ebowwa/usd-side-coco-annotations")

Or download directly and extract for use with YOLO/RF-DETR training.

Source

Original dataset from Roboflow - "Front/Back of USD 2" project.

Refined using automated Roboflow classification API with incremental saving for fault tolerance.

License

MIT