change recognizer output format

This commit is contained in:
UnknownObject
2025-05-19 21:56:27 +08:00
parent d070976d35
commit 521273638d
12 changed files with 32 additions and 24 deletions
+3 -2
View File
@@ -10,8 +10,9 @@ namespace uns
{
namespace easyocr
{
using EOCR_Result = std::pair<std::wstring, float>;
using EOCR_ResultSet = std::map<size_t, EOCR_Result>;
using EOCR_Result = std::tuple<std::wstring, float>;
using EOCR_Result_Single = std::tuple<std::wstring, float, cv::Rect>;
using EOCR_ResultSet = std::map<size_t, EOCR_Result_Single>;
using EOCRD_Rects = std::vector<std::vector<cv::Point2f>>;
}