opencv::dnnFunction read_net_from_caffe_buffer
Source pub fn read_net_from_caffe_buffer(
buffer_proto: &Vector<u8>,
buffer_model: &Vector<u8>,
) -> Result<Net>
Expand description
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()