From b7e09a6ce457e24e6a26ed41661ffdcdbc5304e1 Mon Sep 17 00:00:00 2001
From: Quentin Bolsee <quentinbolsee@hotmail.com>
Date: Thu, 14 Dec 2023 13:16:38 -0500
Subject: [PATCH] code

---
 host/machine.py | 4 ++--
 host/main.py    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/host/machine.py b/host/machine.py
index 56ef451..b39c3d0 100644
--- a/host/machine.py
+++ b/host/machine.py
@@ -128,8 +128,8 @@ if __name__ == "__main__":
     m.goto(0, origin[1])
     m.goto(origin[0], origin[1])
 
-    w = 20
-    h = 20
+    w = 25
+    h = 25
 
     m.goto(origin[0]+w, origin[1]+h)
     m.pen_action(2, True)
diff --git a/host/main.py b/host/main.py
index 2ef3b62..757d687 100644
--- a/host/main.py
+++ b/host/main.py
@@ -97,9 +97,9 @@ class MainApplication:
                     else:
                         self.state = STATE_STREAM
         elif self.state == STATE_VECTORIZED:
-            img_strokes = filtering.stroke(self.img_captured)
+            img_strokes, strokes = filtering.stroke(self.img_captured)
 
-            self.img = cv2.cvtColor(filtering.bf(self.img_captured), cv2.COLOR_GRAY2BGR)
+            self.img = img_strokes
             self.state = STATE_DRAWING
             # self.running = False
 
-- 
GitLab