Skip to content

Commit

Permalink
Merge branch 'ck/benchmark' of github.com:apperception-db/spatialyze …
Browse files Browse the repository at this point in the history
…into ck/benchmark
  • Loading branch information
chanwutk committed Aug 11, 2023
2 parents c9251de + f61079b commit a04ab08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ def _run(self, payload: "Payload") -> "tuple[bitarray | None, dict[str, list] |
detections = Detection3D.get(payload.metadata)
assert detections is not None

for k, detection, tracking, frame in zip(payload.keep, detections, trackings, payload.video):
for k, detection, tracking, frame in zip(
payload.keep, detections, trackings, payload.video
):
dets, _, dids = detection
if not k or tracking is None or detection is None:
metadata.append(dict())
Expand Down
1 change: 1 addition & 0 deletions spatialyze/video_processor/utils/insert_trajectory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import datetime

import numpy as np
import numpy.typing as npt

Expand Down

0 comments on commit a04ab08

Please sign in to comment.