MultiFinderPatternFinder.h Example File
appdemos/qtws/QZXing/zxing/zxing/multi/qrcode/detector/MultiFinderPatternFinder.h
#ifndef __MULTI_FINDER_PATTERN_FINDER_H__
#define __MULTI_FINDER_PATTERN_FINDER_H__
#include <zxing/qrcode/detector/FinderPattern.h>
#include <zxing/qrcode/detector/FinderPatternFinder.h>
#include <zxing/qrcode/detector/FinderPatternInfo.h>
namespace zxing {
namespace multi {
class MultiFinderPatternFinder : zxing::qrcode::FinderPatternFinder {
private:
std::vector<std::vector<Ref<zxing::qrcode::FinderPattern> > > selectBestPatterns();
static const float MAX_MODULE_COUNT_PER_EDGE;
static const float MIN_MODULE_COUNT_PER_EDGE;
static const float DIFF_MODSIZE_CUTOFF_PERCENT;
static const float DIFF_MODSIZE_CUTOFF;
public:
MultiFinderPatternFinder(Ref<BitMatrix> image, Ref<ResultPointCallback> resultPointCallback);
virtual ~MultiFinderPatternFinder();
virtual std::vector<Ref<zxing::qrcode::FinderPatternInfo> > findMulti(DecodeHints const& hints);
};
}
}
#endif // __MULTI_FINDER_PATTERN_FINDER_H__