|
| std::string | cv::dnn::argKindToString (ArgKind kind) |
| |
| Mat | cv::dnn::blobFromImage (InputArray image, double scalefactor=1.0, const Size &size=Size(), const Scalar &mean=Scalar(), bool swapRB=false, bool crop=false, int ddepth=CV_32F) |
| | 画像から4次元のblobを作成する。必要に応じてimageを中心からリサイズおよびクロップし、mean値を減算し、scalefactorで値をスケーリングし、青と赤のチャンネルを入れ替える。
|
| |
| void | cv::dnn::blobFromImage (InputArray image, OutputArray blob, double scalefactor=1.0, const Size &size=Size(), const Scalar &mean=Scalar(), bool swapRB=false, bool crop=false, int ddepth=CV_32F) |
| | 画像から4次元のblobを作成する。
|
| |
| Mat | cv::dnn::blobFromImages (InputArrayOfArrays images, double scalefactor=1.0, Size size=Size(), const Scalar &mean=Scalar(), bool swapRB=false, bool crop=false, int ddepth=CV_32F) |
| | 一連の画像から4次元のblobを作成する。必要に応じてimagesを中心からリサイズおよびクロップし、mean値を減算し、scalefactorで値をスケーリングし、青と赤のチャンネルを入れ替える。
|
| |
| void | cv::dnn::blobFromImages (InputArrayOfArrays images, OutputArray blob, double scalefactor=1.0, Size size=Size(), const Scalar &mean=Scalar(), bool swapRB=false, bool crop=false, int ddepth=CV_32F) |
| | 一連の画像から4次元のblobを作成する。
|
| |
| Mat | cv::dnn::blobFromImagesWithParams (InputArrayOfArrays images, const Image2BlobParams ¶m=Image2BlobParams()) |
| | 指定したパラメータで一連の画像から4次元のblobを作成する。
|
| |
| void | cv::dnn::blobFromImagesWithParams (InputArrayOfArrays images, OutputArray blob, const Image2BlobParams ¶m=Image2BlobParams()) |
| |
| Mat | cv::dnn::blobFromImageWithParams (InputArray image, const Image2BlobParams ¶m=Image2BlobParams()) |
| | 指定したパラメータで画像から4次元のblobを作成する。
|
| |
| void | cv::dnn::blobFromImageWithParams (InputArray image, OutputArray blob, const Image2BlobParams ¶m=Image2BlobParams()) |
| |
| void | cv::dnn::enableModelDiagnostics (bool isDiagnosticsMode) |
| | CV DNN APIによるDNNモデル読み込みの詳細なログ出力を有効にする。
|
| |
| std::vector< std::pair< Backend, Target > > | cv::dnn::getAvailableBackends () |
| |
| std::vector< Target > | cv::dnn::getAvailableTargets (dnn::Backend be) |
| |
| void | cv::dnn::imagesFromBlob (const cv::Mat &blob_, OutputArrayOfArrays images_) |
| | 4Dのblobをパースしてそこにふくまれるイメージをよりシンプルなデータ構造(std::vector<cv::Mat>)を通じて2D配列として出力する。
|
| |
| std::string | cv::dnn::modelFormatToString (ModelFormat modelFormat) |
| |
| void | cv::dnn::NMSBoxes (const std::vector< Rect > &bboxes, const std::vector< float > &scores, const float score_threshold, const float nms_threshold, std::vector< int > &indices, const float eta=1.f, const int top_k=0) |
| | 与えられたボックスと対応するスコアに対して、non maximum suppressionを実行する。
|
| |
| void | cv::dnn::NMSBoxes (const std::vector< Rect2d > &bboxes, const std::vector< float > &scores, const float score_threshold, const float nms_threshold, std::vector< int > &indices, const float eta=1.f, const int top_k=0) |
| |
| void | cv::dnn::NMSBoxes (const std::vector< RotatedRect > &bboxes, const std::vector< float > &scores, const float score_threshold, const float nms_threshold, std::vector< int > &indices, const float eta=1.f, const int top_k=0) |
| |
| void | cv::dnn::NMSBoxesBatched (const std::vector< Rect > &bboxes, const std::vector< float > &scores, const std::vector< int > &class_ids, const float score_threshold, const float nms_threshold, std::vector< int > &indices, const float eta=1.f, const int top_k=0) |
| | 与えられたボックスと対応するスコアに対して、異なるクラスをまたいでバッチ化したnon maximum suppressionを実行する。
|
| |
| void | cv::dnn::NMSBoxesBatched (const std::vector< Rect2d > &bboxes, const std::vector< float > &scores, const std::vector< int > &class_ids, const float score_threshold, const float nms_threshold, std::vector< int > &indices, const float eta=1.f, const int top_k=0) |
| |
| Net | cv::dnn::readNet (const String &framework, const std::vector< uchar > &bufferModel, const std::vector< uchar > &bufferConfig=std::vector< uchar >(), int engine=ENGINE_AUTO) |
| | サポートされている形式のいずれかで表現された深層学習ネットワークを読み込む。
|
| |
| Net | cv::dnn::readNet (CV_WRAP_FILE_PATH const String &model, CV_WRAP_FILE_PATH const String &config="", const String &framework="", int engine=ENGINE_AUTO) |
| | サポートされている形式のいずれかで表現された深層学習ネットワークを読み込む。
|
| |
| Net | cv::dnn::readNetFromModelOptimizer (const std::vector< uchar > &bufferModelConfig, const std::vector< uchar > &bufferWeights) |
| | IntelのModel Optimizerの中間表現からネットワークを読み込む。
|
| |
| Net | cv::dnn::readNetFromModelOptimizer (const uchar *bufferModelConfigPtr, size_t bufferModelConfigSize, const uchar *bufferWeightsPtr, size_t bufferWeightsSize) |
| | IntelのModel Optimizerの中間表現からネットワークを読み込む。
|
| |
| Net | cv::dnn::readNetFromModelOptimizer (CV_WRAP_FILE_PATH const String &xml, CV_WRAP_FILE_PATH const String &bin="") |
| | IntelのModel Optimizerの中間表現からネットワークを読み込む。
|
| |
| Net | cv::dnn::readNetFromONNX (const char *buffer, size_t sizeBuffer, int engine=ENGINE_AUTO) |
| | メモリ上のバッファからONNXのネットワークモデルを読み込む。
|
| |
| Net | cv::dnn::readNetFromONNX (const std::vector< uchar > &buffer, int engine=ENGINE_AUTO) |
| | メモリ上のバッファからONNXのネットワークモデルを読み込む。
|
| |
| Net | cv::dnn::readNetFromONNX (CV_WRAP_FILE_PATH const String &onnxFile, int engine=ENGINE_AUTO) |
| | ONNXのネットワークモデルを読み込む。
|
| |
| Net | cv::dnn::readNetFromTensorflow (const char *bufferModel, size_t lenModel, const char *bufferConfig=NULL, size_t lenConfig=0, int engine=ENGINE_AUTO, const std::vector< String > &extraOutputs=std::vector< String >()) |
| | TensorFlowフレームワークの形式で格納されたネットワークモデルを読み込む。
|
| |
| Net | cv::dnn::readNetFromTensorflow (const std::vector< uchar > &bufferModel, const std::vector< uchar > &bufferConfig=std::vector< uchar >(), int engine=ENGINE_AUTO, const std::vector< String > &extraOutputs=std::vector< String >()) |
| | TensorFlowフレームワークの形式で格納されたネットワークモデルを読み込む。
|
| |
| Net | cv::dnn::readNetFromTensorflow (CV_WRAP_FILE_PATH const String &model, CV_WRAP_FILE_PATH const String &config=String(), int engine=ENGINE_AUTO, const std::vector< String > &extraOutputs=std::vector< String >()) |
| | TensorFlowフレームワークの形式で格納されたネットワークモデルを読み込む。
|
| |
| Net | cv::dnn::readNetFromTFLite (const char *bufferModel, size_t lenModel, int engine=ENGINE_AUTO) |
| | TFLiteフレームワークの形式で格納されたネットワークモデルを読み込む。
|
| |
| Net | cv::dnn::readNetFromTFLite (const std::vector< uchar > &bufferModel, int engine=ENGINE_AUTO) |
| | TFLiteフレームワークの形式で格納されたネットワークモデルを読み込む。
|
| |
| Net | cv::dnn::readNetFromTFLite (CV_WRAP_FILE_PATH const String &model, int engine=ENGINE_AUTO) |
| | TFLiteフレームワークの形式で格納されたネットワークモデルを読み込む。
|
| |
| Mat | cv::dnn::readTensorFromONNX (CV_WRAP_FILE_PATH const String &path) |
| | .pbファイルからblobを作成する。
|
| |
| void | cv::dnn::softNMSBoxes (const std::vector< Rect > &bboxes, const std::vector< float > &scores, std::vector< float > &updated_scores, const float score_threshold, const float nms_threshold, std::vector< int > &indices, size_t top_k=0, const float sigma=0.5, SoftNMSMethod method=SoftNMSMethod::SOFTNMS_GAUSSIAN) |
| | 与えられたボックスと対応するスコアに対して、soft non maximum suppressionを実行する。参考: https://arxiv.org/abs/1704.04503。
|
| |
| void | cv::dnn::writeTextGraph (CV_WRAP_FILE_PATH const String &model, CV_WRAP_FILE_PATH const String &output) |
| | protocol buffer形式で格納されたバイナリネットワークのテキスト表現を作成する。
|
| |