(filename, data_type: str, is_gt=False, is_ignore=False)
| 31 | |
| 32 | |
| 33 | def read_results(filename, data_type: str, is_gt=False, is_ignore=False): |
| 34 | if data_type in ('mot', 'lab'): |
| 35 | read_fun = read_mot_results |
| 36 | else: |
| 37 | raise ValueError('Unknown data type: {}'.format(data_type)) |
| 38 | |
| 39 | return read_fun(filename, is_gt, is_ignore) |
| 40 | |
| 41 | |
| 42 | """ |
no outgoing calls
no test coverage detected