objdetect_HOGDescriptor_detect1

[32/64bit] マルチスケールウィンドウを利用せずに,物体検出を行います.

objdetect_HOGDescriptor_detect1 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 = var : [In] Point[]? searchLocations
p8 = int : int searchLocationsLength

(プラグイン / モジュール : OpenCvSharpExtern.dll)

解説

元関数名(C#): objdetect_HOGDescriptor_detect1
元DLLエクスポート名: objdetect_HOGDescriptor_detect1
参照元CSファイル: Internal\PInvoke\NativeMethods\objdetect\NativeMethods_objdetect_HOGDescriptor.cs
▼ C言語側関数定義
CVAPI(ExceptionStatus) objdetect_HOGDescriptor_detect1(
    cv::HOGDescriptor *obj, cv::Mat *img, std::vector<cv::Point> *foundLocations,
    double hitThreshold, MyCvSize winStride, MyCvSize padding, cv::Point* searchLocations, int searchLocationsLength)
{
    BEGIN_WRAP
    std::vector<cv::Point> slVec;
    if (searchLocations != nullptr)    
        slVec = std::vector<cv::Point>(searchLocations, searchLocations + searchLocationsLength);    
    obj->detect(*img, *foundLocations, hitThreshold, cpp(winStride), cpp(padding), slVec);
    END_WRAP
}

情報

プラグイン / モジュールOpenCvSharpExtern.dll
バージョン1.00
作成日2021/11/30
著作者inovia
URLhttps://hsp.moe/
備考#include "OpenCvSharpExtern32.as"
#include "OpenCvSharpExtern64.as"
使用するHSPランタイムのビット数に合わせたインクルードファイルを使用すること
タイプOpenCVSharpラッパーDLL
グループNativeMethods_objdetect_HOGDescriptor
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\OpenCvSharpExtern.hs