Command Structure
All Panlabel commands follow this pattern:Getting Help
Available Commands
Panlabel provides six main commands for working with annotation datasets:convert
Convert datasets between different annotation formats
validate
Validate datasets for errors and warnings
stats
Generate rich dataset statistics and reports
diff
Compare two datasets semantically
sample
Create subset datasets with various sampling strategies
list-formats
List all supported formats and their capabilities
Common Patterns
Format Specification
Most commands accept format arguments to specify input and output formats:- Supported formats:
ir-json,coco,cvat,label-studio,tfod,yolo,voc - Aliases available:
coco-json,cvat-xml,label-studio-json,ls,tfod-csv,ultralytics,yolov8,yolov5,pascal-voc,voc-xml - Auto-detection: Use
--from autoto automatically detect the input format
Validation Modes
Many commands support validation options:--strict- Treat warnings as errors--no-validate- Skip validation entirely (convert only)
Output Formats
Commands that generate reports typically support multiple output formats:--output text- Human-readable text (default)--output json- Machine-readable JSON--output html- Self-contained HTML report (stats only)
Quick Examples
Convert with auto-detection
Validate a dataset
Generate statistics
Compare datasets
Sample a subset
Next Steps
Convert Command
Learn about format conversion options
Supported Formats
See all supported annotation formats