yuntian-deng commited on
Commit
3309bde
·
1 Parent(s): 99957ed

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -40,8 +40,7 @@ def draw_trace(image: np.ndarray, previous_actions: List[Tuple[str, List[int]]])
40
  flag = False
41
  if DEBUG:
42
  x = x * 256 / 1024
43
- y = y * 256 / 1024
44
- y = 5
45
  draw.ellipse([x-2, y-2, x+2, y+2], fill=color)
46
 
47
  if prev_x is not None:
 
40
  flag = False
41
  if DEBUG:
42
  x = x * 256 / 1024
43
+ y = y * 256 / 640
 
44
  draw.ellipse([x-2, y-2, x+2, y+2], fill=color)
45
 
46
  if prev_x is not None: