Prechádzať zdrojové kódy

修改了因为baseline定位偏差导致轮廓点空缺的问题

andrewnew 4 mesiacov pred
rodič
commit
3d130aa97d

+ 3 - 0
.gitmodules

@@ -1,3 +1,6 @@
 [submodule "ThirdPartyLibs"]
 	path = ThirdPartyLibs
 	url = http://git.ius.plus/AI2/ThirdPartyLibs.git
+[submodule "AI.US"]
+	path = AI.US
+	url = http://git.ius.plus/AI2/AI.US.git

+ 1 - 0
AI.US

@@ -0,0 +1 @@
+Subproject commit b214d80a997b26c9cb6a8bb1ea059df0de8571f0

+ 1 - 1
SourceCode/Project/XLH/Demo/MouseAutoTrace/AutoTrace/AutoTraceCppLib/VetAutoTracePostProcess.cpp

@@ -54,7 +54,7 @@ Mat DownImg(const Mat& inputImg, const vector<Point>& baseline)
     Mat output = inputImg.clone();
     Point pt1 = baseline[0];
     Point pt2 = baseline[1];
-    rectangle(output, Point(0, pt1.y), Point(output.cols - 1, 0), Scalar(0, 0, 0), -1);
+    rectangle(output, Point(0, pt1.y - 2), Point(output.cols - 1, 0), Scalar(0, 0, 0), -1);
     return output;
 }
 

BIN
SourceCode/Project/XLH/Demo/MouseAutoTrace/Release/AI相关dll/AutoTraceCppLib.dll


BIN
SourceCode/Project/XLH/Demo/MouseAutoTrace/Release/AI相关dll/AutoTraceLib.dll


BIN
SourceCode/Project/XLH/Demo/MouseAutoTrace/Release/release_win11/AutoTraceCppLib.dll


BIN
SourceCode/Project/XLH/Demo/MouseAutoTrace/Release/release_win11/AutoTraceDemo.exe


BIN
SourceCode/Project/XLH/Demo/MouseAutoTrace/Release/release_win11/AutoTraceLib.dll