|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef CUREIDLIB_CUREID_H_
19 #define CUREIDLIB_CUREID_H_
39 const cudaStream_t &stream,
const int numOfTargets,
const int maxDetsPerStream,
40 const int historySize,
const int maxReidProductSize,
const int* targetReidFeatureInds,
41 const float* reidProduct,
const int2* reidProductSizePerStream,
const int* streamInds,
42 const int* featureIndSize,
float* confidenceReidDetTargets,
int* nearestIndReidDetTargets
57 const cudaStream_t &stream,
const int numOfTargets,
const int reidFeatureSize,
58 const int* detInds,
const float* reidFeatureDet,
const int* reidFeatureGalleryInds,
59 const int* trackerDoProcessing,
float* reidFeatureGallery
72 const int reidFeatureSize,
const int blockSize,
float* reidFeatureDet
89 const cudaStream_t &stream,
const float *srcMaskFrameBatch,
const int srcFrameWidth,
90 const int srcFrameElementSize,
const int imgWidth,
const int imgElementSize,
91 const int numOfBboxes,
const int *targetInds,
const float4 *srcRois,
float *imgPatchBatch
95 #endif // CUREIDLIB_CUREID_H_
void applySegmentaitonToImagePatches(const cudaStream_t &stream, const float *srcMaskFrameBatch, const int srcFrameWidth, const int srcFrameElementSize, const int imgWidth, const int imgElementSize, const int numOfBboxes, const int *targetInds, const float4 *srcRois, float *imgPatchBatch)
Crop and resize segmentation mask into each ReID input patch's size.
void copyDetReIDFeatureToGallery(const cudaStream_t &stream, const int numOfTargets, const int reidFeatureSize, const int *detInds, const float *reidFeatureDet, const int *reidFeatureGalleryInds, const int *trackerDoProcessing, float *reidFeatureGallery)
Copy detection's reid features to target's feature gallery based on data association matched pairs.
void l2NormalizeReIDFeatures(const cudaStream_t &stream, const int numOfFeatures, const int reidFeatureSize, const int blockSize, float *reidFeatureDet)
Perform l2 normalization for ReID features.
void getNearestReIDSimilarity(const cudaStream_t &stream, const int numOfTargets, const int maxDetsPerStream, const int historySize, const int maxReidProductSize, const int *targetReidFeatureInds, const float *reidProduct, const int2 *reidProductSizePerStream, const int *streamInds, const int *featureIndSize, float *confidenceReidDetTargets, int *nearestIndReidDetTargets)
Given ReID dot product score between each detection and each target's feature gallery,...