pub fn detect_text_rectangles(
path: impl AsRef<Path>,
report_character_boxes: bool,
) -> Result<Vec<TextRect>, VisionError>Expand description
Detect text-region rectangles in the image at path.
§Errors
Returns VisionError when the image fails to load or the Vision request
errors.