Function od_model_create
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn od_model_create(
model_path: *const c_char,
input_w: u32,
input_h: u32,
) -> *mut ModelHandle
Expand description
Create a model from an ONNX file (ORT backend, CPU).
§Parameters
model_path: null-terminated path to .onnx file
input_w, input_h: model input dimensions (e.g. 416, 416)
§Returns
Opaque pointer, or null on error.
§Safety
model_path must be a valid null-terminated C string.