UltraLightFastGenericFaceDetector

Author

btran

namespace Ort
class UltraLightFastGenericFaceDetector : public Ort::ImageRecognitionOrtSessionHandlerBase

Public Functions

UltraLightFastGenericFaceDetector(const std::string &modelPath, const std::optional<size_t> &gpuIdx = std::nullopt, const std::optional<std::vector<std::vector<std::int64_t>>> &inputShapes = std::nullopt)
~UltraLightFastGenericFaceDetector()
void preprocess(float *dst, const unsigned char *src, const int64_t targetImgWidth, const int64_t targetImgHeight, const int numChannels) const

Public Static Attributes

constexpr int64_t IMG_H = 480
constexpr int64_t IMG_W = 640
constexpr int64_t IMG_CHANNEL = 3