18 #ifndef CUDCFLIB_FEATUREEXTRACTOR_HPP_
19 #define CUDCFLIB_FEATUREEXTRACTOR_HPP_
21 #include <cuda_runtime.h>
22 #include <cuda_fp16.h>
23 #include <cuComplex.h>
25 #if defined(VIZ_DEBUG)
26 #include <opencv2/core.hpp>
30 #include "vpi/Stream.h"
31 #include "vpi/Image.h"
32 #include "vpi/experimental/ColorNames.h"
33 #include "vpi/experimental/HOG.h"
34 #include "vpi/CUDAInterop.h"
35 #include "modules/utility/cuda_common.hpp"
36 #include "modules/cuDCFv2/cuDCFFrameTransformTexture.hpp"
75 const std::map<NvMOTStreamId, NvMOTFrame*> &nvFramesInBatch,
76 const std::map<
NvMOTStreamId, std::vector<std::pair<uint, NvMotDataTypes::Rect2f> > > &roisInBatch,
77 const uint lastBboxInd,
const bool doUpdateImages
97 const int debugVerboseLevel,
const int maxStreamNum,
const int maxBufSurfAddrSize,
const int maxfeatureImgNum,
100 const VPIBackend vpiDevType = VPI_BACKEND_CUDA,
const VPIImageFormat vpiImgOutputType = VPI_IMAGE_FORMAT_U16
117 #if defined(VIZ_DEBUG)
122 std::vector<std::vector<cv::Mat> > getExtractedFeaturesAtHost_VPI()
const;
128 std::map<NvMOTStreamId, std::map<uint, cv::Mat > > getSrcImgPatches()
157 const std::map<NvMOTStreamId, cv::Mat> &getSourceImagesAtHost()
const
219 #endif // CUDCFLIB_FEATUREEXTRACTOR_HPP_