Commit cd51c170 authored by Wallenfang, Nils's avatar Wallenfang, Nils

fix typo

parent 4af601b0
......@@ -139,7 +139,7 @@ def insert_labels(preview, xdim, ydim):
avgColor = np.mean(preview[x * res_x:x * res_x + 20, y * res_y:y * res_y + 20])
print(avgColor, (0 if avgColor > 1000 else 255))
# draw.text((y * res_y, x * res_x), f"{x:02d}_{y:02d}", fill=(255 if avgColor > 1000 else 0))
draw.text((y * res_y, x * res_x), f"{xdim - x - 1:02d}_{ydim - y - 1git:02d}", (255 if avgColor > 1000 else 0))
draw.text((y * res_y, x * res_x), f"{xdim - x - 1:02d}_{ydim - y - 1:02d}", (255 if avgColor > 1000 else 0))
return np.asarray(img)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment