FOSSredder 0.5.0
Loading...
Searching...
No Matches
DocumentImageProcessingResult.h
Go to the documentation of this file.
1
5#pragma once
6
8
9#include <cstdint>
10#include <filesystem>
11#include <string>
12#include <vector>
13
15
17 std::filesystem::path denoisedImagePath;
18};
19
20struct MaskResult {
21 std::filesystem::path maskedImagePath;
22 std::filesystem::path maskImagePath;
23 std::vector<uint8_t> maskedImageBytes;
24 std::vector<uint8_t> maskImageBytes;
25};
26
29 bool detected = false;
30 std::vector<Rect> textBlocks;
31};
32
33struct CropResult {
34 std::vector<std::filesystem::path> croppedImagePaths;
35 std::vector<std::vector<uint8_t>> croppedImageBytes;
36};
37
38} // namespace core::ports::document_image_processing
Shared geometry and table types for document image processing ports.