Artur Mukhamadiev f55f6204c8 [image] connection block between opencv and rpc
Details:
  imageRPC for now assumed to have 4 fields:
  width,height of type int (4 signed bytes)
  type (enum BGR,RGBA,DEPTH)
  and raw vector of data

tests written by opencode + gemini flash

TG-8
TG-7
2026-03-12 22:04:26 +03:00

20 lines
278 B
C++

//
// Created by vptyp on 11.03.2026.
//
#pragma once
#include <opencv4/opencv2/opencv.hpp>
namespace score {
class Image {
public:
Image();
explicit Image(const cv::Mat& image);
~Image();
[[nodiscard]] cv::Mat get() const;
protected:
cv::Mat data_;
};
}