detectMulti method
Implementation
List<DetectorResult> detectMulti(DecodeHint? hints) {
final finder = MultiFinderPatternFinder(
image,
hints?.needResultPointCallback,
);
final infos = finder.findMulti(hints);
if (infos.isEmpty) {
throw NotFoundException.instance;
}
final result = <DetectorResult>[];
for (FinderPatternInfo info in infos) {
try {
result.add(processFinderPatternInfo(info));
} on ReaderException catch (_) {
// ignore
}
}
if (result.isEmpty) {
return _emptyDetectorResults;
} else {
return result.toList();
}
}