update litris with board detection

This commit is contained in:
2023-07-29 20:46:25 +02:00
parent 6ec1b71d28
commit d3d2e1e65e
2 changed files with 3 additions and 2 deletions

View File

@@ -144,7 +144,8 @@ class NewStoneID(threading.Thread):
# cv.imshow("screenshot", screenshot)
# cv.waitKey(150)
# continue
data_coords = np.zeros((20, 20), dtype=object)
#data_coords = np.zeros((20, 20), dtype=object)
data_coords = np.full((20, 20), ' ', dtype=object)
#field = Pickaxe_Field()
for needle_key in self.needles.keys():
#gray_needle = cv.cvtColor(self.needles[needle_key], cv.COLOR_BGR2GRAY)