(stracksa, n_frame=10)
| 392 | |
| 393 | |
| 394 | def remove_fp_stracks(stracksa, n_frame=10): |
| 395 | remain = [] |
| 396 | for t in stracksa: |
| 397 | score_5 = t.score_list[-n_frame:] |
| 398 | score_5 = np.array(score_5, dtype=np.float32) |
| 399 | index = score_5 < 0.45 |
| 400 | num = np.sum(index) |
| 401 | if num < n_frame: |
| 402 | remain.append(t) |
| 403 | return remain |
nothing calls this directly
no outgoing calls
no test coverage detected