EyeTab icon indicating copy to clipboard operation
EyeTab copied to clipboard

I met this error when run main.py

Open bemoregt opened this issue 7 years ago • 3 comments

Hi, @errollw

I met this error when run main.py

kraken-2:EyeTab_Python dti$ python3 main.py Traceback (most recent call last): File "main.py", line 5, in import gaze_system as gaze_system File "/Users/dti/EyeTab/EyeTab_Python/gaze_system.py", line 4, in import draw_utils File "/Users/dti/EyeTab/EyeTab_Python/draw_utils.py", line 5 def draw_cross(bgr_img, (x, y), color=(255, 255, 255), width=2, thickness=1): ^ SyntaxError: invalid syntax

What's wrong with me?

Thanks in advance~

bemoregt avatar Nov 01 '17 06:11 bemoregt

我也遇到同样的问题,楼主是否已经解决了?

yutao007 avatar Dec 14 '19 09:12 yutao007

Hello,

I met the same error.

LingYu-Chu avatar Oct 28 '20 12:10 LingYu-Chu

I think that you need to replace def draw_cross(bgr_img, (x, y), color=(255, 255, 255), width=2, thickness=1): with def draw_cross(bgr_img, x, y, color=(255, 255, 255), width=2, thickness=1):

alessandrobruno10 avatar Nov 11 '20 11:11 alessandrobruno10