|
| virtual void | compute (InputArray img, OutputArray descriptors, Stream &stream=Stream::Null())=0 |
| | 画像全体に対して計算したブロック記述子を返す。
|
| |
| void | detect (InputArray img, std::vector< Point > &found_locations, std::vector< double > &confidences) |
| |
| virtual void | detect (InputArray img, std::vector< Point > &found_locations, std::vector< double > *confidences=NULL)=0 |
| | マルチスケールウィンドウを使わずに物体検出を行う。
|
| |
| void | detectMultiScale (InputArray img, std::vector< Rect > &found_locations, std::vector< double > &confidences) |
| |
| virtual void | detectMultiScale (InputArray img, std::vector< Rect > &found_locations, std::vector< double > *confidences=NULL)=0 |
| | マルチスケールウィンドウでオブジェクト検出を実行する。
|
| |
| void | detectMultiScaleWithoutConf (InputArray img, std::vector< Rect > &found_locations) |
| | マルチスケールウィンドウでオブジェクト検出を実行する。
|
| |
| void | detectWithoutConf (InputArray img, std::vector< Point > &found_locations) |
| | マルチスケールウィンドウを使わずに物体検出を行う。
|
| |
| virtual size_t | getBlockHistogramSize () const =0 |
| | ブロックヒストグラムのサイズを返す。
|
| |
| virtual Mat | getDefaultPeopleDetector () const =0 |
| | 人物検出用に学習された分類器の係数を返す。
|
| |
| virtual HOGDescriptor::DescriptorStorageFormat | getDescriptorFormat () const =0 |
| |
| virtual size_t | getDescriptorSize () const =0 |
| | 分類に必要な係数の数を返す。
|
| |
| virtual bool | getGammaCorrection () const =0 |
| |
| virtual int | getGroupThreshold () const =0 |
| |
| virtual double | getHitThreshold () const =0 |
| |
| virtual double | getL2HysThreshold () const =0 |
| |
| virtual int | getNumLevels () const =0 |
| |
| virtual double | getScaleFactor () const =0 |
| |
| virtual double | getWinSigma () const =0 |
| |
| virtual Size | getWinStride () const =0 |
| |
| virtual void | setDescriptorFormat (HOGDescriptor::DescriptorStorageFormat descr_format)=0 |
| |
| virtual void | setGammaCorrection (bool gamma_correction)=0 |
| | ガンマ補正の前処理を行うかどうかを指定するフラグ。
|
| |
| virtual void | setGroupThreshold (int group_threshold)=0 |
| |
| virtual void | setHitThreshold (double hit_threshold)=0 |
| |
| virtual void | setL2HysThreshold (double threshold_L2hys)=0 |
| | L2-Hys正規化手法の縮小(shrinkage)。
|
| |
| virtual void | setNumLevels (int nlevels)=0 |
| | 検出ウィンドウを拡大する回数の最大値。
|
| |
| virtual void | setScaleFactor (double scale0)=0 |
| | 検出ウィンドウの拡大係数。
|
| |
| virtual void | setSVMDetector (InputArray detector)=0 |
| | 線形SVM分類器の係数を設定する。
|
| |
| virtual void | setWinSigma (double win_sigma)=0 |
| | ガウシアン平滑化ウィンドウの引数。
|
| |
| virtual void | setWinStride (Size win_stride)=0 |
| | ウィンドウストライド。ブロックストライドの倍数でなければならない。
|
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | アルゴリズムの状態をクリアする。
|
| |
| virtual bool | empty () const |
| | Algorithm が空の場合(たとえば開始直後や読み込みに失敗した後)に true を返す。
|
| |
| virtual String | getDefaultName () const |
| |
| virtual void | read (const FileNode &fn) |
| | ファイルストレージからアルゴリズムの引数を読み込む。
|
| |
| virtual void | save (const String &filename) const |
| |
| virtual void | write (FileStorage &fs) const |
| | アルゴリズムの引数をファイルストレージに保存する。
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |
勾配方向ヒストグラム (Histogram of Oriented Gradients、[66]) オブジェクト検出器を実装したクラス。
- 覚え書き
- HOG 記述子を人物検出に適用する例は xobjdetect_module/samples/peopledetect.cpp にある。
- HOG 記述子を人物検出に適用するCUDAの例は xobjdetect_module/samples/gpu/hog.cpp にある。
- (Python) HOG 記述子を人物検出に適用する例は xobjdetect_module/samples/python/peopledetect.py にある。