(stracksa, n_frame=10)
| 454 | |
| 455 | |
| 456 | def remove_fp_stracks(stracksa, n_frame=10): |
| 457 | remain = [] |
| 458 | for t in stracksa: |
| 459 | score_5 = t.score_list[-n_frame:] |
| 460 | score_5 = np.array(score_5, dtype=np.float32) |
| 461 | index = score_5 < 0.45 |
| 462 | num = np.sum(index) |
| 463 | if num < n_frame: |
| 464 | remain.append(t) |
| 465 | return remain |
nothing calls this directly
no outgoing calls
no test coverage detected