def idtp(df, id_global_assignment, num_objects, idfn):
    """ID measures: Number of true positives matches after global min-cost matching."""
    del df, id_global_assignment  # unused
    return num_objects - idfn
ID measures: Number of true positives matches after global min-cost matching.
motmetrics/metrics.py