wx_human_seg 3.0.0
|
#include <wx_idphoto_detect.h>
Public Member Functions | |
WXIDPhotoDetector (WXDeviceType deviceType=kDeviceCPU) | |
WXIDPhotoDetector构造函数 More... | |
const std::shared_ptr< WXIDPhotoDetectResult > | detect (std::shared_ptr< WXImage >inImg) |
证件照检测接口 More... | |
WXIDPhotoDetectResult * | detect (const WXImage *inImg) |
证件照检测接口 More... | |
void | setSettings (const std::shared_ptr< WXIDPhotoSettings > &settings) |
void | setSettings (const WXIDPhotoSettings *settings) |
class WXIDPhotoDetector
wonxai::WXIDPhotoDetector::WXIDPhotoDetector | ( | WXDeviceType | deviceType = kDeviceCPU | ) |
WXIDPhotoDetector构造函数
[in] | deviceType | 使用GPU还是CPU来创建推理引擎 |
WXException |
WXIDPhotoDetectResult * wonxai::WXIDPhotoDetector::detect | ( | const WXImage * | inImg | ) |
证件照检测接口
const std::shared_ptr< WXIDPhotoDetectResult > wonxai::WXIDPhotoDetector::detect | ( | std::shared_ptr< WXImage > | inImg | ) |
void wonxai::WXIDPhotoDetector::setSettings | ( | const std::shared_ptr< WXIDPhotoSettings > & | settings | ) |
检测接口参数设置, 保留,暂不使用
void wonxai::WXIDPhotoDetector::setSettings | ( | const WXIDPhotoSettings * | settings | ) |
检测接口参数设置, 保留,暂不使用