diff --git a/debug_loot_capture.png b/debug_loot_capture.png deleted file mode 100644 index cc5699e..0000000 Binary files a/debug_loot_capture.png and /dev/null differ diff --git a/debug_loot_detected.png b/debug_loot_detected.png deleted file mode 100644 index ebf52d3..0000000 Binary files a/debug_loot_detected.png and /dev/null differ diff --git a/debug_loot_dilated.png b/debug_loot_dilated.png deleted file mode 100644 index 7cd9e4d..0000000 Binary files a/debug_loot_dilated.png and /dev/null differ diff --git a/debug_loot_edges.png b/debug_loot_edges.png deleted file mode 100644 index 9c976ce..0000000 Binary files a/debug_loot_edges.png and /dev/null differ diff --git a/src/Poe2Trade.Screen/ScreenReader.cs b/src/Poe2Trade.Screen/ScreenReader.cs index 0565479..b4c098c 100644 --- a/src/Poe2Trade.Screen/ScreenReader.cs +++ b/src/Poe2Trade.Screen/ScreenReader.cs @@ -625,23 +625,6 @@ public class ScreenReader : IScreenReader var labels = NmsLootLabels(scored, NmsIouThresh); labels.Sort((a, b) => a.CenterY.CompareTo(b.CenterY)); - // Debug images - try - { - current.Save("debug_loot_capture.png", System.Drawing.Imaging.ImageFormat.Png); - Cv2.ImWrite("debug_loot_edges.png", edges); - using var debugMat = mat.Clone(); - foreach (var label in labels) - Cv2.Rectangle(debugMat, - new Rect(label.CenterX - label.Width / 2, label.CenterY - label.Height / 2, label.Width, label.Height), - new Scalar(0, 255, 0), 2); - Cv2.ImWrite("debug_loot_detected.png", debugMat); - } - catch (Exception ex) - { - Log.Warning(ex, "Failed to save debug images"); - } - Log.Information("DetectLootLabels: strict={Strict} relaxed={Relaxed} yellow={Yellow} final={Final}", strict.Count, relaxed.Count, textClusters.Count, labels.Count); foreach (var label in labels)