diff --git a/src/CategoryMatcher.cpp b/src/CategoryMatcher.cpp index d9d3ff9..36fdf0e 100644 --- a/src/CategoryMatcher.cpp +++ b/src/CategoryMatcher.cpp @@ -320,11 +320,7 @@ void CategoryMatcher::drawImage(ILImagePtr image, QMap re } } - ILRotRectRegionPtr m_rect(__uuidof(LRotRectRegion)); - m_rect->SetPlacement(1600, 1000, 2500, 1200, 0); - m_textSys->SetPenWidth(m_rect, 3); - m_textSys->SetPenColor(m_rect, m_textSys->GetColorRef(0, 255, 0)); - m_display->AddObject(m_rect, 0); + if (bRlt) { m_textSys->SetFontColor(m_text, m_textSys->GetColorRef(0, 255, 0));