fix.扩大公招识别范围,提高识别率

This commit is contained in:
MistEO
2021-10-06 05:39:26 +08:00
parent 5b5d97cd62
commit 60ebcc31a0

View File

@@ -55,7 +55,7 @@ bool OpenRecruitTask::run()
std::future<void> set_time_future = std::async(std::launch::async, set_time_foo, m_set_time);
const static cv::Rect identify_area = make_rect<cv::Rect>(
m_controller_ptr->shaped_correct(Rect(360, 320, 520, 250)));
m_controller_ptr->shaped_correct(Rect(200, 200, 800, 500)));
/* Find all text */
std::vector<TextArea> all_text_area = ocr_detect(image(identify_area));