Skip to main content

barcode_reader_main

Function barcode_reader_main 

Source
pub fn barcode_reader_main(image_path: &Path) -> Result<String, i32>
Expand description

Runs the native barcode-reader entrypoint.

§Parameters

§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!());
  • crate::runtime for adjacent helpers that share the same runtime surface.