[][src]Function opencv::dnn::read_net_from_onnx

pub fn read_net_from_onnx(onnx_file: &str) -> Result<Net>

Reads a network model ONNX.

Parameters

  • onnxFile: path to the .onnx file with text description of the network architecture.

Returns

Network object that ready to do forward, throw an exception in failure cases.