(filename, data_type: str, is_gt=False, is_ignore=False)
| 115 | |
| 116 | |
| 117 | def read_results(filename, data_type: str, is_gt=False, is_ignore=False): |
| 118 | if data_type in ('mot', 'lab'): |
| 119 | read_fun = read_mot_results |
| 120 | else: |
| 121 | raise ValueError('Unknown data type: {}'.format(data_type)) |
| 122 | |
| 123 | return read_fun(filename, is_gt, is_ignore) |
| 124 | |
| 125 | |
| 126 | """ |
no outgoing calls
no test coverage detected