From 1e751a5eb3c23d932b5de94456b5a8741f28c7cc Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期六, 16 八月 2025 17:37:49 +0800
Subject: [PATCH] 1. 修复离线测试设置错误的扫描个数,应该设置的是需要扫描的个数(非相机个数)
---
EdgeInspector_App/Defect.h | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/EdgeInspector_App/Defect.h b/EdgeInspector_App/Defect.h
index 026e37a..d8fed89 100644
--- a/EdgeInspector_App/Defect.h
+++ b/EdgeInspector_App/Defect.h
@@ -1,4 +1,4 @@
-#pragma once
+锘�#pragma once
#define DEFECTIMAGE_WIDTH 1024
#define DEFECTIMAGE_HEIGHT 500
@@ -22,6 +22,7 @@
DefectLoc_Measure_Chamfer,
DefectLoc_Notch_Crack,
+ DefectLoc_Notch_NoGrind,
DefectLoc_Notch_Dimension,
DefectLoc_Notch_Chamfer,
DefectLoc_Notch_Circle_Radius,
@@ -36,9 +37,14 @@
DefectLoc_License,
- DefectLoc_Unknown,
+ DefectLoc_Rip_Thickness_Glass,
+ DefectLoc_Rip_Thickness_Left,
+ DefectLoc_Rip_Thickness_Right,
+ DefectLoc_Unknown,
+
DefectLoc_None
+
};
static CString g_strDefectType[DefectLoc_None] =
@@ -60,6 +66,7 @@
_T("Chamfer"),
_T("Notch"),
+ _T("Notch_NoGrind"),
_T("Notch_Dimension"),
_T("Notch_Chamfer"),
_T("Notch_Radius"),
@@ -71,7 +78,12 @@
_T("WS_Fail"),
_T("Exception"),
+
_T("License"),
+
+ _T("Rip_GlassThickness"),
+ _T("Rip_LeftGap"),
+ _T("Rip_RightGap"),
_T("Unknown")
};
@@ -190,7 +202,7 @@
int m_nJudge_Type;
// Exception Area
- int m_nExceptionArea; // 0 : 固器窃, 1 : 混娄 吧魔, 2 : 肯傈 器窃
+ int m_nExceptionArea; // 0 : 鍥哄櫒绐�, 1 : 娣峰▌ 鍚ч瓟, 2 : 鑲倛 鍣ㄧ獌
// User Defect Idx
int m_nUserDefectAreaIdx;
--
Gitblit v1.9.3