diff --git a/motmetrics/apps/eval_detrac.py b/motmetrics/apps/eval_detrac.py index 192f1c5..e0453d1 100644 --- a/motmetrics/apps/eval_detrac.py +++ b/motmetrics/apps/eval_detrac.py @@ -19,7 +19,6 @@ from pathlib import Path import motmetrics as mm -# Andreu from motmetrics.utils import is_in_region @@ -69,7 +68,6 @@ def parse_args(): return parser.parse_args() -# Andreu def filter_dets_by_zone(gt_df, test_df): ig_region = gt_df[['X_reg', 'Y_reg', 'W_reg', 'H_reg']].dropna().values dets = test_df[['X', 'Y', 'Width', 'Height']] diff --git a/motmetrics/io.py b/motmetrics/io.py index 2ae47ca..841a152 100644 --- a/motmetrics/io.py +++ b/motmetrics/io.py @@ -18,7 +18,7 @@ import pandas as pd import scipy.io import xmltodict -# Andreu + from motmetrics.utils import is_in_region @@ -277,7 +277,6 @@ def load_detrac_xml(fname): if type(ignored_region_list['box']) != list: ignored_region_list['box'] = [ignored_region_list['box']] - # Andreu parsed_ig = [] for ig in ignored_region_list['box']: row = [] diff --git a/motmetrics/utils.py b/motmetrics/utils.py index 3403d0c..65a7dfa 100644 --- a/motmetrics/utils.py +++ b/motmetrics/utils.py @@ -165,7 +165,6 @@ def compute_euc(a, b): return acc, analysis -# Andreu def is_in_region(bbox, reg): # Check if the 4 points of the bbox are inside region points = []