JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
Share this page: |
|
|
|
|
|
|
Go to the documentation of this file.
24 namespace jevois {
class StdModule; }
32 "multiple entries are possible and should be separated by / characters. "
33 "Selecting many symbol types or ALL will slow down processing. Supported "
34 "symbols are: QRCODE, EAN2, EAN5, EAN8, EAN13, UPCE, UPCA, ISBN10, ISBN13, "
35 "COMPOSITE, I25, DATABAR, DATABAREXP, CODABAR, CODE39, PDF417, CODE93, "
51 public jevois::Parameter<qrcode::symbol, qrcode::xdensity, qrcode::ydensity>
55 QRcode(std::string
const & instance);
82 void onParamChange(qrcode::symbol
const & param, std::string
const & newval)
override;
QRcode(std::string const &instance)
Constructor.
JEVOIS_DECLARE_PARAMETER(thresh1, double, "First threshold for hysteresis", 50.0, ParamCateg)
void onParamChange(qrcode::symbol const ¶m, std::string const &newval) override
Parse symbol config strings when they change.
void sendSerial(jevois::StdModule *mod, zbar::Image &img, unsigned int camw, unsigned int camh)
Send serial messages about our detections.
std::shared_ptr< zbar::ImageScanner > itsScanner
JEVOIS_DECLARE_PARAMETER_WITH_CALLBACK(l2grad, bool, "Use more accurate L2 gradient norm if true, L1 if false", false, ParamCateg)
QRcode and Barcode detection using ZBar.
void process(zbar::Image &image)
Process a greayscale image.
void drawDetections(jevois::RawImage &outimg, int txtx, int txty, zbar::Image &zgray, int w, int h, size_t nshow)
Draw any markers previously detected by process()