31 lines
545 B
C
31 lines
545 B
C
|
|
/*
|
||
|
|
* Copyright 2016 Nu-book Inc.
|
||
|
|
* Copyright 2016 ZXing authors
|
||
|
|
*/
|
||
|
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#ifdef __cpp_impl_coroutine
|
||
|
|
#include <Generator.h>
|
||
|
|
#include <DetectorResult.h>
|
||
|
|
#endif
|
||
|
|
|
||
|
|
namespace ZXing {
|
||
|
|
|
||
|
|
class BitMatrix;
|
||
|
|
class DetectorResult;
|
||
|
|
|
||
|
|
namespace DataMatrix {
|
||
|
|
|
||
|
|
#ifdef __cpp_impl_coroutine
|
||
|
|
using DetectorResults = Generator<DetectorResult>;
|
||
|
|
#else
|
||
|
|
using DetectorResults = DetectorResult;
|
||
|
|
#endif
|
||
|
|
|
||
|
|
DetectorResults Detect(const BitMatrix& image, bool tryHarder, bool tryRotate, bool isPure);
|
||
|
|
|
||
|
|
} // DataMatrix
|
||
|
|
} // ZXing
|