(stracksa, n_frame=10)
| 342 | |
| 343 | |
| 344 | def remove_fp_stracks(stracksa, n_frame=10): |
| 345 | remain = [] |
| 346 | for t in stracksa: |
| 347 | score_5 = t.score_list[-n_frame:] |
| 348 | score_5 = np.array(score_5, dtype=np.float32) |
| 349 | index = score_5 < 0.45 |
| 350 | num = np.sum(index) |
| 351 | if num < n_frame: |
| 352 | remain.append(t) |
| 353 | return remain |
nothing calls this directly
no outgoing calls
no test coverage detected