pub async fn verify_coco_import(
client: &Client,
coco_path: impl AsRef<Path>,
dataset_id: DatasetID,
annotation_set_id: AnnotationSetID,
options: &CocoVerifyOptions,
progress: Option<Sender<Progress>>,
) -> Result<VerificationResult, Error>Expand description
Verify a COCO dataset import against Studio data.
Compares the local COCO dataset against what’s stored in Studio to verify:
- All images are present (no missing, no extras)
- All annotations are correct (using Hungarian matching)
- Bounding boxes match within tolerance
- Segmentation masks match (if enabled)
This does NOT download images - it only compares metadata and annotations.
§Arguments
client- Authenticated Studio clientcoco_path- Path to local COCO annotation JSON filedataset_id- Dataset in Studio to verify againstannotation_set_id- Annotation set in Studio to verify againstoptions- Verification optionsprogress- Optional progress channel
§Returns
Verification result with detailed comparison metrics.