Function opencv::dnn::read_net_from_tensorflow
source · pub fn read_net_from_tensorflow(model: &str, config: &str) -> Result<Net>
Expand description
Reads a network model stored in TensorFlow framework’s format.
Parameters
- model: path to the .pb file with binary protobuf description of the network architecture
- config: path to the .pbtxt file that contains text graph definition in protobuf format. Resulting Net object is built by text graph using weights from a binary one that let us make it more flexible.
Returns
Net object.
C++ default parameters
- config: String()