zagor / watermeter

Water meter reader - Convert analog dials into a digital value
GNU General Public License v3.0
20 stars 11 forks source link

question1 #2

Open 1012207826 opened 5 years ago

1012207826 commented 5 years ago

Hello,Thank you push the code on the GitHub,and I hava a question fllow.Can you give me advice? Thank you!! PS C:\Users\Administrator\Desktop\watermeter-master\watermeter-master> python .\watermeter.py .\sample1.jpg Traceback (most recent call last): File ".\watermeter.py", line 237, in val = findAngle(cut, redcut, (radius, radius), (radius*2)) File ".\watermeter.py", line 146, in findAngle cv2.line(img, (tip[0], tip[1]), (center[0], center[1]), (255,0,255), 2) TypeError: integer argument expected, got float