[][src]Function opencv::dnn::read_net_from_caffe_buffer

pub fn read_net_from_caffe_buffer(
    buffer_proto: &VectorOfuchar,
    buffer_model: &VectorOfuchar
) -> Result<Net>

Reads a network model stored in Caffe model in memory.

Parameters

  • bufferProto: buffer containing the content of the .prototxt file
  • bufferModel: buffer containing the content of the .caffemodel file

Returns

Net object.

C++ default parameters

  • buffer_model: std::vector()