PeopleTracker is an OpenCV Object Tracker that is used to collect data about something in a video. Here, it is used on people but has many other applications as well.
MIT License
3
stars
0
forks
source link
Crash while exporting when tracking a certain way #15
line 1159, in
tracker_list[selected_tracker].export_data(input_dialog.resolution_x, input_dialog.resolution_y, videoPath, vid_fps)
line 389, in export_data
total_time = self.get_time_tracked(vid_fps)
line 113, in get_time_tracked
total_time = [self.calculate_total_time(self.part_time_to_segments(list(sorted(self.data_dict.keys()))), framerate)]
line 521, in part_time_to_segments
total_segments = self.merge_intervals(total_segments)
line 470, in merge_intervals
merged = [total_segments[0]]
To Reproduce:
Start a new tracker
Make the tracker large so it only records 1 frame
Export
AND
Start a new tracker
Make the tracker large so it only records 1 frame
Scroll the video over until the late video
Record another single frame
Export
Results when time is tracked such as frames
0, 1000
Suspicion:
merge intervals is receiving an empty list since no pairs are ever formed.
Error Message:
line 1159, in
tracker_list[selected_tracker].export_data(input_dialog.resolution_x, input_dialog.resolution_y, videoPath, vid_fps)
line 389, in export_data
total_time = self.get_time_tracked(vid_fps)
line 113, in get_time_tracked
total_time = [self.calculate_total_time(self.part_time_to_segments(list(sorted(self.data_dict.keys()))), framerate)]
line 521, in part_time_to_segments
total_segments = self.merge_intervals(total_segments)
line 470, in merge_intervals
merged = [total_segments[0]]
To Reproduce:
AND
Results when time is tracked such as frames 0, 1000
Suspicion: merge intervals is receiving an empty list since no pairs are ever formed.