| 1 | #include "deepsort.h" |
| 2 | |
| 3 | DeepSort::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 | |
| 15 | void DeepSort::init() { |
| 16 | objTracker = new tracker(maxCosineDist, maxBudget); |
nothing calls this directly
no outgoing calls
no test coverage detected