You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: