pub fn barcode_reader_main(image_path: &Path) -> Result<String, i32>Expand description
Runs the native barcode-reader entrypoint.
§Parameters
image_path: Input consumed bycrate::runtime::barcode_reader_main.
§Returns
Returns the successful value produced by crate::runtime::barcode_reader_main or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::barcode_reader_main cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::barcode_reader_main.
§Examples
ⓘ
let _result = pharos_native::runtime::barcode_reader_main(todo!());§Related
crate::runtimefor adjacent helpers that share the same runtime surface.