Object detection models are only as good as the dataset behind them. Many teams spend weeks tuning YOLO or DETR hyperparameters when the real problem is an unbalanced, inconsistently labeled training set. This is a step-by-step checklist for building an object detection dataset that actually works in production.
Step 1: Define the task precisely
Write down what the model must detect, at what minimum size, from which cameras and in which conditions. "Detect vehicles" is vague. "Detect cars, trucks, buses and two-wheelers larger than 20 pixels in 1080p dashcam footage, day and night" is a spec you can build data for.
Step 2: Design the class list
Keep classes mutually exclusive.
Merge classes the model cannot visually separate.
Add an "ignore" or "ambiguous" region class for crowds and heavy occlusion.
Step 3: Collect representative images
Sample across locations, lighting, weather, camera angles and seasons.…