(ax: Axes, frame_status: torch.Tensor)
| 13 | |
| 14 | @IgnoreException |
| 15 | def plot_losttrack_frames(ax: Axes, frame_status: torch.Tensor): |
| 16 | lost_track_ranges = getConsecutiveRange(frame_status.int().tolist(), lambda flag: flag) |
| 17 | for start, end in lost_track_ranges: |
| 18 | ax.axvspan(start, end-0.99, color="red", alpha=0.3) |
| 19 | |
| 20 | @IgnoreException |
| 21 | def plot_motionRTE(ax: Axes, ref_traj: PlotableMotions, est_traj: PlotableMotions) -> Line2D: |
no test coverage detected