[][src]Function opencv::dnn::read_net_from_caffe

pub fn read_net_from_caffe(prototxt: &str, caffe_model: &str) -> Result<Net>

Reads a network model stored in Caffe framework's format.

Parameters

  • prototxt: path to the .prototxt file with text description of the network architecture.
  • caffeModel: path to the .caffemodel file with learned network.

Returns

Net object.

C++ default parameters

  • caffe_model: String()