Browse Source

fix console spam

subDesTagesMitExtraKaese 2 years ago
parent
commit
bf7b2c6f65
1 changed files with 1 additions and 2 deletions
  1. 1 2
      raspberry-pi/sensors/opticalSensor.py

+ 1 - 2
raspberry-pi/sensors/opticalSensor.py

@@ -39,7 +39,6 @@ def find_marker(image, debug=True):
 
   if debug:
     for corner in rejectedImgPoints:
-      print(corner)
       c = corner[0]
       cv2.line(image, tuple(c[0]), tuple(c[1]), (0, 255, 255), 1)
       cv2.line(image, tuple(c[1]), tuple(c[2]), (0, 255, 255), 1)
@@ -109,7 +108,7 @@ class OpticalSensor():
     self.fov                    = float(conf["opt_sensor"]["fov"])
     self.log_handler            = logHandler.get_log_handler()
     self.showImage              = conf["opt_sensor"]["debug_image"] == "yes"
-    self._thread  = threading.Thread(target=self._getFrames, args=())
+    self._thread = threading.Thread(target=self._getFrames, args=())
     self.success = False
     self.running = True