Files
handleaiuinew/env/3DAI/include/zxing/aztec/AZDetector.h
T
2024-05-18 23:53:26 +08:00

31 lines
585 B
C++

/*
* Copyright 2016 Nu-book Inc.
* Copyright 2016 ZXing authors
*/
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <vector>
namespace ZXing {
class BitMatrix;
namespace Aztec {
class DetectorResult;
/**
* Detects an Aztec Code in an image.
*
* @param isMirror if true, image is a mirror-image of original
*/
DetectorResult Detect(const BitMatrix& image, bool isPure, bool tryHarder = true);
using DetectorResults = std::vector<DetectorResult>;
DetectorResults Detect(const BitMatrix& image, bool isPure, bool tryHarder, int maxSymbols);
} // Aztec
} // ZXing