4#include "ZXing/ReadBarcode.h"
5#include "ZXing/TextUtfEncoding.h"
9#include "declarative/PropertyMacros.h"
20 template<
typename PropsT>
23 const std::map<std::string, apra::ScalarPropertyValue>& values,
24 std::vector<std::string>& missingRequired
30 throw std::runtime_error(
"Unknown property: " + propName);
34 throw std::runtime_error(
"Unknown property: " + propName);
52 bool process(frame_container& frames);
apra::ScalarPropertyValue getProperty(const std::string &propName) const
Definition QRReader.h:29
QRReaderProps()
Definition QRReader.h:14
static void applyProperties(PropsT &props, const std::map< std::string, apra::ScalarPropertyValue > &values, std::vector< std::string > &missingRequired)
Definition QRReader.h:21
bool setProperty(const std::string &propName, const apra::ScalarPropertyValue &value)
Definition QRReader.h:33
static std::vector< std::string > dynamicPropertyNames()
Definition QRReader.h:37
Definition QRReader.cpp:9
bool validateInputPins()
Definition QRReader.cpp:69
boost::shared_ptr< Detail > mDetail
Definition QRReader.h:60
bool init()
Definition QRReader.cpp:107
virtual ~QRReader()
Definition QRReader.cpp:67
bool term()
Definition QRReader.cpp:117
bool process(frame_container &frames)
Definition QRReader.cpp:122
QRReader(QRReaderProps _props=QRReaderProps())
Definition QRReader.cpp:60
bool shouldTriggerSOS()
Definition QRReader.cpp:146
bool validateOutputPins()
Definition QRReader.cpp:88
bool processSOS(frame_sp &frame)
Definition QRReader.cpp:139
std::variant< int64_t, double, bool, std::string > ScalarPropertyValue
Definition ModuleRegistry.h:30