FOSSredder 0.5.0
Loading...
Searching...
No Matches
TextRecognitionRequest.h
Go to the documentation of this file.
1
5#pragma once
6
8
9#include <atomic>
10#include <cstdint>
11#include <filesystem>
12#include <memory>
13#include <string>
14#include <vector>
15
17
19 std::filesystem::path imagePath;
20 std::vector<uint8_t> imageBytes;
21 std::filesystem::path tessdataPath;
23 std::vector<Cell> cells;
25 std::shared_ptr<std::atomic<bool>> cancelFlag;
26};
27
28} // namespace core::ports::text_recognition
Shared text recognition data types.
std::shared_ptr< std::atomic< bool > > cancelFlag
enum core::ports::text_recognition::ExtractRequest::Kind kind