MCPcopy Create free account
hub / github.com/RichardoMrMu/yolov5-deepsort-tensorrt / DeepSort

Method DeepSort

deepsort/src/deepsort.cpp:3–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "deepsort.h"
2
3DeepSort::DeepSort(std::string modelPath, int batchSize, int featureDim, int gpuID, ILogger* gLogger) {
4 this->gpuID = gpuID;
5 this->enginePath = modelPath;
6 this->batchSize = batchSize;
7 this->featureDim = featureDim;
8 this->imgShape = cv::Size(64, 128);
9 this->maxBudget = 100;
10 this->maxCosineDist = 0.2;
11 this->gLogger = gLogger;
12 init();
13}
14
15void DeepSort::init() {
16 objTracker = new tracker(maxCosineDist, maxBudget);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected