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
20 lines
278 B
C++
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_;
|
|
};
|
|
|
|
} |