Skip to content
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
allowed normalized bounding boxes to be tracked
  • Loading branch information
cansik committed Oct 19, 2021
commit b71cab384129a37db647029d386bce06c5b59539
2 changes: 1 addition & 1 deletion motrackers/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def preprocess_input(bboxes, class_ids, detection_scores):
detections (list[Tuple]): Data for detections as list of tuples containing `(bbox, class_id, detection_score)`.
"""

new_bboxes = np.array(bboxes, dtype='int')
new_bboxes = np.array(bboxes, dtype='float')
new_class_ids = np.array(class_ids, dtype='int')
new_detection_scores = np.array(detection_scores)

Expand Down