perf.优化肉鸽的各种流程

This commit is contained in:
MistEO
2022-01-27 00:43:36 +08:00
parent da2d88e58b
commit cbeb1548e6
14 changed files with 203 additions and 44 deletions

View File

@@ -72,6 +72,7 @@ bool asst::ProcessTaskImageAnalyzer::ocr_analyze(std::shared_ptr<TaskInfo> task_
bool ret = m_ocr_analyzer->analyze();
if (ret) {
m_ocr_analyzer->sort_result_by_required();
const auto& ocr_result = m_ocr_analyzer->get_result();
auto& res = ocr_result.front();
m_result = ocr_task_ptr;