Function opencv::dnn::enable_model_diagnostics[][src]

pub fn enable_model_diagnostics(is_diagnostics_mode: bool) -> Result<()>
Expand description

Enables detailed logging of the DNN model loading with CV DNN API.

Parameters

  • isDiagnosticsMode: Indicates whether diagnostic mode should be set.

Diagnostic mode provides detailed logging of the model loading stage to explore potential problems (ex.: not implemented layer type).

Note: In diagnostic mode series of assertions will be skipped, it can lead to the expected application crash.