def METHOD_NAME(cpp_pipeline_dir, py_pipeline_dir):
    from kwiver.vital.types import (
        DetectedObject,
        DetectedObjectSet,
        BoundingBoxD,
    )
    from kwiver.sprokit.adapters import adapter_data_set, embedded_pipeline
    from kwiver.sprokit.pipeline import datum
    ads_in = adapter_data_set.AdapterDataSet.create()
    ads_in["detected_object_set"] = _create_detected_object_set()
    print("Starting roundtrip pipeline with a detected_object_set")
    run_roundtrip_pipeline(py_pipeline_dir, ads_in)
    # Create fresh objects. Make sure that this also works with adding datums directly
    ads_in = adapter_data_set.AdapterDataSet.create()
    ads_in["detected_object_set"] = datum.new(_create_detected_object_set())
    print(
        "Starting roundtrip pipeline with a datum containing a detected_object_set"
    )
    run_roundtrip_pipeline(py_pipeline_dir, ads_in)