RAPP Platform  v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
 All Classes Namespaces Files Functions Variables Macros
QrDetector Class Reference

Provides the QR detection functionality. More...

#include <qr_detector.h>

Public Member Functions

 QrDetector (void)
 Default constructor. More...
 
std::vector< QrCodedetectQrs (const cv::Mat &img)
 Detects QRs in a cv::Mat. More...
 
std::vector< QrCodefindQrs (std::string file_name)
 Detects QRs in an image file. More...
 

Private Member Functions

cv::Mat loadImage (std::string file_name)
 Loads an image into a cv::Mat structure. More...
 

Detailed Description

Provides the QR detection functionality.

Definition at line 45 of file qr_detector.h.

Constructor & Destructor Documentation

QrDetector::QrDetector ( void  )

Default constructor.

Definition at line 23 of file qr_detector.cpp.

Member Function Documentation

std::vector< QrCode > QrDetector::detectQrs ( const cv::Mat &  input_frame)

Detects QRs in a cv::Mat.

Parameters
img[const cv::Mat&] The input image in cv::Mat form
Returns
std::vector<QrCode> The detected QR codes

< QrCode scanner

Definition at line 43 of file qr_detector.cpp.

std::vector< QrCode > QrDetector::findQrs ( std::string  file_name)

Detects QRs in an image file.

Parameters
file_name[std::string] The input image URI
Returns
std::vector<QrCode> The detected QR codes

Definition at line 101 of file qr_detector.cpp.

cv::Mat QrDetector::loadImage ( std::string  file_name)
private

Loads an image into a cv::Mat structure.

Parameters
file_name[std::string] The file URI
Returns
cv::Mat

Definition at line 32 of file qr_detector.cpp.


The documentation for this class was generated from the following files: