class_docstr: Implements a Bar-code detector.
  For now, only horizontal (or with a small angle) bar-codes are supported
  
  Args:
  ----
      min_size: minimum relative size of a barcode on the page
      canny_minval: lower bound for canny hysteresis
      canny_maxval: upper-bound for canny hysteresis
class_docstr_tok: ["Implements","a","Bar-code","detector",".","For","now",",","only","horizontal","(","or","with","a","small","angle",")","bar-codes","are","supported","Args",":","--","--","min_size",":","minimum","relative","size","of","a","barcode","on","the","page","canny_minval",":","lower","bound","for","canny","hysteresis","canny_maxval",":","upper-bound","for","canny","hysteresis"]
code: def __init__(
      self,
      min_size: float = 1 / 6,
      canny_minval: int = 50,
      canny_maxval: int = 150,
  ) -> None:
      self.min_size = min_size
      self.canny_minval = canny_minval
      self.canny_maxval = canny_maxval
  
imports: from typing import List, Tuple
  import cv2
  import numpy
label_desc: Use image node_id 1 to create a new BarCodeDetector object  with example: obj = BarCodeDetector(min_size, canny_minval, canny_maxval)