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

track #398

Open
kangcao opened this issue Oct 20, 2022 · 1 comment
Open

track #398

kangcao opened this issue Oct 20, 2022 · 1 comment
Assignees
Labels

Comments

@kangcao
Copy link

kangcao commented Oct 20, 2022

Hi,I have obtained the coordinates of the target in each frame. How do I use the code in the tracking section here?

@Nuzhny007 Nuzhny007 self-assigned this Oct 20, 2022
@Nuzhny007
Copy link
Collaborator

Nuzhny007 commented Oct 24, 2022

Hi!
It has a simple interface:

  1. Create tracker object: 111 tracker = BaseTracker::CreateTracker(settings);
  2. Convert your detections to the regions_t array.
  3. For each frame:
tracker->Update(regions, frame, fps);
std::vector<TrackingObject> tracks;
tracker->GetTracks(tracks);

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

No branches or pull requests

2 participants