(stracksa, n_frame=10)
| 328 | |
| 329 | |
| 330 | def remove_fp_stracks(stracksa, n_frame=10): |
| 331 | remain = [] |
| 332 | for t in stracksa: |
| 333 | score_5 = t.score_list[-n_frame:] |
| 334 | score_5 = np.array(score_5, dtype=np.float32) |
| 335 | index = score_5 < 0.45 |
| 336 | num = np.sum(index) |
| 337 | if num < n_frame: |
| 338 | remain.append(t) |
| 339 | return remain |
nothing calls this directly
no outgoing calls
no test coverage detected