mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-20 09:57:36 +01:00
21 lines
507 B
C++
21 lines
507 B
C++
#pragma once
|
|
|
|
#include <TCPSocket/TCPClient.hpp>
|
|
#include <TCPSocket/TCPUtils.hpp>
|
|
|
|
#include "../utils/utils.h"
|
|
#include "../aruco/ArucoTag.h"
|
|
|
|
class MyClient : public TCPClient {
|
|
|
|
std::vector<std::pair<ArucoTag, std::pair<cv::Mat, cv::Mat>>> arucoTags;
|
|
|
|
public:
|
|
|
|
explicit MyClient(const char* ip = "127.0.0.1", int port = 8080);
|
|
|
|
void handleMessage(const std::string& message) override;
|
|
|
|
void setArucoTags(const std::vector<std::pair<ArucoTag, std::pair<cv::Mat, cv::Mat>>>& arucoTags);
|
|
};
|