rockkingjy / OpenTracker

Real-time C++ ECO tracker etc. speed-up by SSE/NEON, support Linux, Mac, Jetson TX1/2, raspberry pi
GNU General Public License v3.0
751 stars 197 forks source link

retracking #6

Closed Oliverwang closed 6 years ago

Oliverwang commented 6 years ago

A target tracking failure, re-tracking for another target, how to operate? reset Just correct the previous target

rockkingjy commented 6 years ago

@Oliverwang not quit clear of your requirement, sorry.

Oliverwang commented 6 years ago

@rockkingjy Thank you for your reply, I added a detection algorithm inside to track the incoming target, but repeated calls to init will be wrong, you must re-new eco class

rockkingjy commented 6 years ago

@Oliverwang Yes, init could only be used once, but ECO::reset() can be used to track another target I think.

Oliverwang commented 6 years ago

@rockkingjy I tried ECO::reset(), but the tracking effect is not ideal, compared with init

rockkingjy commented 6 years ago

@Oliverwang yes, there is a bug here, I fixed it. thanks.