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