Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what if object disappears? #21

Open
LoFaiTh opened this issue Jul 13, 2018 · 5 comments
Open

what if object disappears? #21

LoFaiTh opened this issue Jul 13, 2018 · 5 comments

Comments

@LoFaiTh
Copy link

LoFaiTh commented Jul 13, 2018

What the function update returns if object disappears, say occluded for a while? Is there any way to return confidence?

@ludv1x
Copy link

ludv1x commented Jul 26, 2018

I have the same question. It would be nice to have an OpenCV-compatible interface for update() function which returns a special flag if the object disappears. https://docs.opencv.org/3.4.1/d0/d0a/classcv_1_1Tracker.html#a549159bd0553e6a8de356f3866df1f18

@yyyy3531614
Copy link

Same issue here. How to decide whether it is lost when call update() with a new frame ?

@ludv1x
Copy link

ludv1x commented Aug 7, 2018

I guess it make sense to use peak_value variable from here https://github.com/joaofaro/KCFcpp/blob/master/src/kcftracker.cpp#L185 as a confidence measure of the tracker. But it would be nice to have this opportunity in public API.

@StormArcher
Copy link

@ludv1x
I konw the opencv API have the flag .
such as --> retval, boundingBox = cv.Tracker.update( image )
the flag is retval

-->Problem ONR :
but the API (you said) has a big disadvantages that it cant re-init the Tracker(in other word ,we cant init a tracker 2 times ).
And I need the function (re-init ),so i must use the kcf (joaofaro/KCFcpp),this code has the function ,we can init the Tracker many times.

-->Problem TWO :
so can you give me some advice for how to use the peak_value (just like use the flag in opencv API )?

-->Problem THREE :
uoip/KCFcpp-py-wrapper
I use the python kcf wrappered from c++ kcf ( joao .f).
do you have any good ideas ?

@HaoQChen
Copy link

Did you fix that now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants