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

Method init

deepsort/src/deepsort.cpp:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void DeepSort::init() {
16 objTracker = new tracker(maxCosineDist, maxBudget);
17 featureExtractor = new FeatureTensor(batchSize, imgShape, featureDim, gpuID, gLogger);
18 int ret = enginePath.find(".onnx");
19 if (ret != -1)
20 featureExtractor->loadOnnx(enginePath);
21 else
22 featureExtractor->loadEngine(enginePath);
23}
24
25DeepSort::~DeepSort() {
26 delete objTracker;

Callers

nothing calls this directly

Calls 2

loadOnnxMethod · 0.80
loadEngineMethod · 0.80

Tested by

no test coverage detected