docs: public final DetectorResult detect(Map<DecodeHintType,?> hints) throws NotFoundException, FormatException {
  
      resultPointCallback = hints == null ? null :
          (ResultPointCallback) hints.get(DecodeHintType.NEED_RESULT_POINT_CALLBACK);
  
      FinderPatternFinder finder = new FinderPatternFinder(image, resultPointCallback);
      FinderPatternInfo info = finder.find(hints);
  
      return processFinderPatternInfo(info);
    }