Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format #8

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions spatialyze/video_processor/utils/format_trajectory.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import datetime
import numpy.typing as npt

import numpy as np
import numpy.typing as npt

from ..camera_config import CameraConfig
from ..stages.segment_trajectory.construct_segment_trajectory import SegmentPoint
Expand Down Expand Up @@ -29,8 +30,8 @@ def format_trajectory(
for tracking_result_3d, ego_info, segment_mapping in track:
if ego_info:
if (
ego_info.filename is not None and
"sweeps/CAM_FRONT/n008-2018-08-30-15-16-55-0400__CAM_FRONT__1535657125362404.jpg"
ego_info.filename is not None
and "sweeps/CAM_FRONT/n008-2018-08-30-15-16-55-0400__CAM_FRONT__1535657125362404.jpg"
in ego_info.filename
):
info_found.append(
Expand Down
Loading