ailiaDetectorCompute method
~japanese @brief 物体検出を行います。 @param detector 検出オブジェクトポインタ @param src 画像データ(32bpp) @param src_stride 1ラインのバイト数 @param src_width 画像幅 @param src_height 画像高さ @param src_format 画像フォーマット (AILIA_IMAGE_FORMAT_*) @param threshold 検出しきい値(0.1f等)(小さいほど検出されやすくなり、検出数増加) @param iou 重複除外しきい値(0.45f等)(小さいほど重複を許容せず検出数減少) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Performs object detection. @param detector A detector instance pointer @param src Image data (32 bpp) @param src_stride The number of bytes in 1 line @param src_width Image width @param src_height Image height @param src_format Image format (AILIA_IMAGE_FORMAT_*) @param threshold The detection threshold (for example, 0.1f) (The smaller it is, the easier the detection will be and the more detected objects found.) @param iou Iou threshold (for example, 0.45f) (The smaller it is, the fewer detected objects found, as duplication is not allowed.) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaDetectorCompute(
ffi.Pointer<AILIADetector> detector,
ffi.Pointer<ffi.Void> src,
int src_stride,
int src_width,
int src_height,
int src_format,
double threshold,
double iou,
) {
return _ailiaDetectorCompute(
detector,
src,
src_stride,
src_width,
src_height,
src_format,
threshold,
iou,
);
}