OpenCV
3.4.0
Open Source Computer Vision
|
Class implementing the CaffeConverter. More...
#include "dnn_modern.hpp"
Public Member Functions | |
virtual void | eval (InputArray image, std::vector< float > &results)=0 |
Evaluates single model output on single model input. More... | |
Public Member Functions inherited from cv::dnn2::BaseConverter | |
virtual | ~BaseConverter () |
Static Public Member Functions | |
static Ptr< CaffeConverter > | create (const String &model_file, const String &trained_file, const String &mean_file=String()) |
Creates a CaffeConverter object. More... | |
Class implementing the CaffeConverter.
Implementation of tiny-dnn Caffe converter. Loads a pretrained Caffe model. Only support simple sequential models.
|
static |
Creates a CaffeConverter object.
model_file | path to the prototxt file. |
trained_file | path to the caffemodel file. |
mean_file | path to binaryproto file. |
|
pure virtual |
Evaluates single model output on single model input.
image | input image. |
results | output form model. |
Implements cv::dnn2::BaseConverter.