Struct opencv::barcode::BarcodeDetector [−][src]
pub struct BarcodeDetector { /* fields omitted */ }
Implementations
Initialize the BarcodeDetector.
Parameters
- prototxt_path: prototxt file path for the super resolution model
- model_path: model file path for the super resolution model
C++ default parameters
- prototxt_path: “”
- model_path: “”
Trait Implementations
Detects Barcode in image and returns the rectangle(s) containing the code. Read more
fn decode(
&self,
img: &dyn ToInputArray,
points: &dyn ToInputArray,
decoded_info: &mut Vector<String>,
decoded_type: &mut Vector<BarcodeType>
) -> Result<bool>
fn decode(
&self,
img: &dyn ToInputArray,
points: &dyn ToInputArray,
decoded_info: &mut Vector<String>,
decoded_type: &mut Vector<BarcodeType>
) -> Result<bool>
Decodes barcode in image once it’s found by the detect() method. Read more
fn detect_and_decode(
&self,
img: &dyn ToInputArray,
decoded_info: &mut Vector<String>,
decoded_type: &mut Vector<BarcodeType>,
points: &mut dyn ToOutputArray
) -> Result<bool>
fn detect_and_decode(
&self,
img: &dyn ToInputArray,
decoded_info: &mut Vector<String>,
decoded_type: &mut Vector<BarcodeType>,
points: &mut dyn ToOutputArray
) -> Result<bool>
Both detects and decodes barcode Read more