[32/64bit] 入力画像中の異なるサイズの物体を検出します.検出されたオブジェクトは,矩形のリストとして返されます.
objdetect_HOGDescriptor_detectMultiScale1 p1,p2,p3,p4,p5,p6,p7,p8
p1 = sptr : IntPtr self p2 = sptr : IntPtr img p3 = sptr : IntPtr foundLocations p4 = double : double hitThreshold p5 = ARGS_SIZE : Size winStride p6 = ARGS_SIZE : Size padding p7 = double : double scale p8 = int : int groupThreshold
(プラグイン / モジュール : OpenCvSharpExtern.dll)
例:samples/cpp/peopledetect.cpp,samples/cpp/train_HOG.cpp,samples/tapi/hog.cpp. 元関数名(C#): objdetect_HOGDescriptor_detectMultiScale1 元DLLエクスポート名: objdetect_HOGDescriptor_detectMultiScale1 参照元CSファイル: Internal\PInvoke\NativeMethods\objdetect\NativeMethods_objdetect_HOGDescriptor.cs ▼ C言語側関数定義
CVAPI(ExceptionStatus) objdetect_HOGDescriptor_detectMultiScale1(
cv::HOGDescriptor *obj, cv::Mat *img,
std::vector<cv::Rect> *foundLocations,
double hitThreshold, MyCvSize winStride, MyCvSize padding, double scale, int groupThreshold)
{
BEGIN_WRAP
obj->detectMultiScale(*img, *foundLocations,
hitThreshold, cpp(winStride), cpp(padding), scale, groupThreshold);
END_WRAP
}
| プラグイン / モジュール | OpenCvSharpExtern.dll |
| バージョン | 1.00 |
| 作成日 | 2021/11/30 |
| 著作者 | inovia |
| URL | https://hsp.moe/ |
| 備考 | #include "OpenCvSharpExtern32.as"
#include "OpenCvSharpExtern64.as" 使用するHSPランタイムのビット数に合わせたインクルードファイルを使用すること |
| タイプ | OpenCVSharpラッパーDLL |
| グループ | NativeMethods_objdetect_HOGDescriptor |
| 対応環境 |
|
| hs ファイル | hsphelp\OpenCvSharpExtern.hs |