detect(hints) {
			this.resultPointCallback = (hints === null || hints === undefined) ? null :
				/*(ResultPointCallback) */ hints.get(DecodeHintType$1.NEED_RESULT_POINT_CALLBACK);
			const finder = new FinderPatternFinder(this.image, this.resultPointCallback);
			const info = finder.find(hints);
			return this.processFinderPatternInfo(info);
		}
<p>Detects a QR Code in an image.</p>

@param hints optional hints to detector
@return {@link DetectorResult} encapsulating results of detecting a QR Code
@throws NotFoundException if QR Code cannot be found
@throws FormatException if a QR Code cannot be decoded