From c70166f3e86ffd0528884911483c067a6b21ebdd Mon Sep 17 00:00:00 2001 From: kojingeun <diteam.co.kr> Date: 금, 30 6월 2023 15:48:59 +0900 Subject: [PATCH] Ongoing60 #4517 CF AOI Review 결과 파일 찾기 실패 개선 1. AOIServer RawBin 폴더 연결 TimerThread 추가 - file_dummy 생성 후 Open/Close 반복(10초) 2. 프로젝트 누락 경로 및 설정 추가 - FTPUploader Include Path, Debug모드 psapi.lib --- ReviewSystem/CHAlignFinder/AlignFinder.cpp | 30 +++++++++++++++++++++--------- 1 files changed, 21 insertions(+), 9 deletions(-) diff --git a/ReviewSystem/CHAlignFinder/AlignFinder.cpp b/ReviewSystem/CHAlignFinder/AlignFinder.cpp index 67d3d83..4e9c0c6 100644 --- a/ReviewSystem/CHAlignFinder/AlignFinder.cpp +++ b/ReviewSystem/CHAlignFinder/AlignFinder.cpp @@ -157,11 +157,14 @@ return findResult; } + /*< LYW 20211013 - #3671 Delete Start >*/ // step2. edge find - if (FindAlignEdge(findResult)==1) - { - return findResult; - } +// if (FindAlignEdge(findResult) == 1) +// { +// return findResult; +// } + /*< LYW 20211013 - #3671 Delete End >*/ + return findResult; } @@ -205,11 +208,13 @@ CCHImageData tempImage; CCHImageProcess::ImageNormalize(&resultImage, &m_BlobImage, 0, 255); - if (findResult.dMatchValue<m_findParam.dMatchRate) - { - findResult.nResultCode = AlignMatch_LowScore; - return 0; - } + /*< LYW 20211013 - #3671 Delete Start >*/ +// if (findResult.dMatchValue < m_findParam.dMatchRate) +// { +// findResult.nResultCode = AlignMatch_LowScore; +// return 0; +// } + /*< LYW 20211013 - #3671 Delete End >*/ // step5. Make Result 이미지 findResult.nResultCode = AlignMatch_Success; @@ -223,6 +228,13 @@ m_ResultImage.DrawRectangle(CPoint((int)(dResultX+0.5), (int)(dResultY+0.5)), CPoint((int)(dResultX+m_pTempImage->GetWidth()+0.5), (int)(dResultY+m_pTempImage->GetHeight()+0.5)), RGB(255,255,255), 2); } + /*< LYW 20211013 - #3671 ADD Start >*/ + if (findResult.dMatchValue < m_findParam.dMatchRate) + { + findResult.nResultCode = AlignMatch_LowScore; + return 0; + } + /*< LYW 20211013 - #3671 ADD End >*/ return 1; } -- Gitblit v1.9.3