Git Product home page Git Product logo

Comments (6)

bryceburrows avatar bryceburrows commented on May 26, 2024 4

ok so without thinking too hard:

Yolov5_DeepSort_Pytorch\deep_sort\deep_sort\sort\track.py
def increment_age(self):
self.age += 1
self.time_since_update += 1

def predict(self, kf):
"""Propagate the state distribution to the current time step using a
Kalman filter prediction step.

    Parameters
    ----------
    kf : kalman_filter.KalmanFilter
        The Kalman filter.

    """
    self.mean, self.covariance = kf.predict(self.mean, self.covariance)
    #self.age += 1
    self.increment_age()
   # self.time_since_update += 1

Yolov5_DeepSort_Pytorch\deep_sort\deep_sort\sort\tracker.py

def increment_ages(self):
for track in self.tracks:
track.increment_age()
track.mark_missed()

deepsort.py add

def increment_ages(self):
    self.tracker.increment_ages()

and in Yolov5_DeepSort_Pytorch\track.py

 else:
            p, s, im0 = path, '', im0s

        s += '%gx%g ' % img.shape[2:]  # print string

        if det is  None:
            deepsort.increment_ages()

        if det is not None and len(det):
            # Rescale boxes from img_size to im0 size
            det[:, :4] = scale_coords(img.shape[2:], det[:, :4], im0.shape).round()

from yolo_tracking.

mikel-brostrom avatar mikel-brostrom commented on May 26, 2024 1

This issue is now fixed and pushed to master @kanasite, @bryceburrows

from yolo_tracking.

mikel-brostrom avatar mikel-brostrom commented on May 26, 2024

Thank you for your feedback @bryceburrows!

You are totally right. I will try to fix this issue in the coming weeks

from yolo_tracking.

bryceburrows avatar bryceburrows commented on May 26, 2024

i have a fix that seems to work - don't to push the while thing as ive made a bunch of mod's for another use.

can send it to you if you like

from yolo_tracking.

mikel-brostrom avatar mikel-brostrom commented on May 26, 2024

Sure! Feel free to leave it here as a comment :)

from yolo_tracking.

kanasite avatar kanasite commented on May 26, 2024

bump, is this fixed?

from yolo_tracking.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.