LARS
LARS (Light Augmented Reality System) is an open-source framework for light-based interaction and real-time tracking in multi-robot experiments. Inspired by ARK, LARS extends the augmented reality paradigm to robotic collectives by projecting dynamic visual cues and environments onto the arena, enabling new experimental possibilities for collective robotics research, education, and outreach. LARS features integrated tracking, light projection, and modular experiment control with a user-friendly Qt GUI.
Loading...
Searching...
No Matches
detectQR.h
1
2// Qt
3#include <QtCore>
4// OpenCV
5#include <opencv2/opencv.hpp>
6#include <opencv2/highgui/highgui.hpp>
7#include <opencv2/imgproc.hpp>
8#include <opencv2/objdetect.hpp>
9
10#include <zbar.h>
11
12using namespace cv;
13
14typedef struct
15{
16 std::string type;
17 std::string data;
18 std::vector <Point> location;
20
21
22class DetectQR : public QThread
23{
24 Q_OBJECT
25public:
26 explicit DetectQR(cv::Mat frame);
27 ~DetectQR();
28 void runDetectQR();
29
30private:
31 // QImage frame;
32 cv::Mat currentFrame;
33protected:
34 // void run();
35
36private slots:
37 void decode(Mat &im, std::vector<decodedObject>&decodedObjects);
38 void display(Mat &im, std::vector<decodedObject>&decodedObjects);
39
40public slots:
41 void decodePub(Mat &im, std::vector<decodedObject>&decodedObjects);
42};
43
44
Definition detectQR.h:15