[][src]Function opencv::dnn::read_net_1

pub fn read_net_1(
    framework: &str,
    buffer_model: &VectorOfuchar,
    buffer_config: &VectorOfuchar
) -> Result<Net>

Read deep learning network represented in one of the supported formats. @details This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters

  • framework: Name of origin framework.
  • bufferModel: A buffer with a content of binary file with weights
  • bufferConfig: A buffer with a content of text file contains network configuration.

Returns

Net object.

C++ default parameters

  • buffer_config: std::vector()