pub fn read_net_from_caffe(prototxt: &str, caffe_model: &str) -> Result<crate::dnn::Net> {
	string_arg!(prototxt);
	string_arg!(caffe_model);
	unsafe { sys::cv_dnn_readNetFromCaffe_const_StringX_const_StringX(prototxt.as_ptr(), caffe_model.as_ptr()) }.into_result().map(|ptr| unsafe { crate::dnn::Net::from_raw(ptr) })
}
/// Reads a network model stored in <a href="http://caffe.berkeleyvision.org">Caffe</a> 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()
Reads a network model stored in Caffe framework's format.
Reads a network model stored in Caffe framework ' s format .
pub fn read_net_from_caffe(prototxt: &str, caffe_model: &str) -> Result<crate::dnn::Net> {
	string_arg!(prototxt);
	string_arg!(caffe_model);
	unsafe { sys::cv_dnn_readNetFromCaffe_const_StringX_const_StringX(prototxt.as_ptr(), caffe_model.as_ptr()) }.into_result().map(|ptr| unsafe { crate::dnn::Net::from_raw(ptr) })
}
pub fn read_net_from_caffe ( prototxt : & str , caffe_model : & str ) -> Result < crate :: dnn :: Net > { string_arg ! ( prototxt ) ; string_arg ! ( caffe_model ) ; unsafe { sys :: cv_dnn_readNetFromCaffe_const_StringX_const_StringX ( prototxt . as_ptr ( ) , caffe_model . as_ptr ( ) ) } . into_result ( ) . map ( | ptr | unsafe { crate :: dnn :: Net :: from_raw ( ptr ) } ) }
Reads a network model stored in <a href="http://caffe.berkeleyvision.org">Caffe</a> framework's format.
Reads a network model stored in <a href = " http : // caffe . berkeleyvision . org " > Caffe< / a > framework ' s format .
None
prototxt
&str
caffe_model
&str
c++ default parameters
None