kurianbenoy / Multi-object-Tracking-using-dlib

Fork of popular pyimage article: https://www.pyimagesearch.com/2018/10/29/multi-object-tracking-with-dlib/
3 stars 3 forks source link

Have you tried this code with other detectors? #1

Open laumc98 opened 4 years ago

laumc98 commented 4 years ago

Hey. I am trying to run the multi-object-tracking fast code, but I made some changes to run it with detectron2 instead of the Mobilenet + SSD Caffe model. I am getting this error over and over again

Process Process-1: Traceback (most recent call last): File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "Detection-Tracking.py", line 42, in start_tracker t.start_track(rgb, rect) RuntimeError: Error detected at line 61. Error detected in file /tmp/pip-wheel-66glv9rf/dlib/dlib/../dlib/image_processing/correlation_tracker.h. Error detected in function void dlib::correlation_tracker::start_track(const image_type&, const dlib::drectangle&) [with image_type = dlib::numpy_image].

Failing expression was p.is_empty() == false. You can't give an empty rectangle.
void correlation_tracker::start_track()

Already check that the order of the inputs at dlib.rectangle was right... Maybe you can give me some insight on this

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.72. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.