Skip to content

Commit

Permalink
objectron should now work without logging workaround
Browse files Browse the repository at this point in the history
See #4689
  • Loading branch information
Wumpf committed Jan 24, 2024
1 parent 4d7b109 commit 051745f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/python/objectron/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,9 @@ def log_ar_frames(samples: Iterable[SampleARFrame], seq: Sequence) -> None:
rr.set_time_seconds("time", sample.timestamp)
frame_times.append(sample.timestamp)

# TODO(#4689): log the camera first, so that Rerun's space view generation heuristic won't
# accidentally create a 2D space view at `world/`
rr.log("world/camera", rr.ImageEncoded(path=sample.image_path))
log_camera(sample.frame.camera)
log_point_cloud(sample.frame.raw_feature_points)
rr.log("world/camera", rr.ImageEncoded(path=sample.image_path))

log_frame_annotations(frame_times, seq.frame_annotations)

Expand Down

0 comments on commit 051745f

Please sign in to comment.