This commit is contained in:
TD 2025-04-02 20:14:41 +08:00
parent dbf412713b
commit ab38ee029a

View File

@ -1297,7 +1297,7 @@ namespace DH.Devices.Vision
using (Bitmap resultMask = result.DetectionOriginImage.CopyBitmap()) using (Bitmap resultMask = result.DetectionOriginImage.CopyBitmap())
using (Bitmap preTreatedBitmap = result.DetectionOriginImage.CopyBitmap()) using (Bitmap preTreatedBitmap = result.DetectionOriginImage.CopyBitmap())
{ {
var detectionResultShapes = new List<IShapeElement>(result.DetectionResultShapes) var detectionResultShapes = new List<IShapeElement>()
{ {
new DetectResultDisplay(result, resultMask, displayTxt) new DetectResultDisplay(result, resultMask, displayTxt)
}; };