pub fn read_net_from_caffe_str(buffer_proto: &str, len_proto: size_t, buffer_model: &str, len_model: size_t) -> Result<crate::dnn::Net> {
	string_arg!(buffer_proto);
	string_arg!(buffer_model);
	unsafe { sys::cv_dnn_readNetFromCaffe_const_charX_size_t_const_charX_size_t(buffer_proto.as_ptr(), len_proto, buffer_model.as_ptr(), len_model) }.into_result().map(|ptr| unsafe { crate::dnn::Net::from_raw(ptr) })
}
/// Reads a network model stored in Caffe model in memory.
/// @details This is an overloaded member function, provided for convenience.
/// It differs from the above function only in what argument(s) it accepts.
/// ## Parameters
/// * bufferProto: buffer containing the content of the .prototxt file
/// * lenProto: length of bufferProto
/// * bufferModel: buffer containing the content of the .caffemodel file
/// * lenModel: length of bufferModel
/// ## Returns
/// Net object.
/// 
/// ## C++ default parameters
/// * buffer_model: NULL
/// * len_model: 0
Reads a network model stored in Caffe model in memory.
@details This is an overloaded member function, provided for convenience.
It differs from the above function only in what argument(s) it accepts.
Reads a network model stored in Caffe model in memory . @details This is an overloaded member function provided for convenience . It differs from the above function only in what argument ( s ) it accepts .
pub fn read_net_from_caffe_str(buffer_proto: &str, len_proto: size_t, buffer_model: &str, len_model: size_t) -> Result<crate::dnn::Net> {
	string_arg!(buffer_proto);
	string_arg!(buffer_model);
	unsafe { sys::cv_dnn_readNetFromCaffe_const_charX_size_t_const_charX_size_t(buffer_proto.as_ptr(), len_proto, buffer_model.as_ptr(), len_model) }.into_result().map(|ptr| unsafe { crate::dnn::Net::from_raw(ptr) })
}
pub fn read_net_from_caffe_str ( buffer_proto : & str , len_proto : size_t , buffer_model : & str , len_model : size_t ) -> Result < crate :: dnn :: Net > { string_arg ! ( buffer_proto ) ; string_arg ! ( buffer_model ) ; unsafe { sys :: cv_dnn_readNetFromCaffe_const_charX_size_t_const_charX_size_t ( buffer_proto . as_ptr ( ) , len_proto , buffer_model . as_ptr ( ) , len_model ) } . into_result ( ) . map ( | ptr | unsafe { crate :: dnn :: Net :: from_raw ( ptr ) } ) }
Reads a network model stored in Caffe model in memory.
Reads a network model stored in Caffe model in memory .
None
buffer_proto
&str
len_proto
size_t
buffer_model
&str
len_model
size_t
c++ default parameters
NULL
len_model: 0
NULL len_model : 0