Skip to content

question1 #2

Description

@1012207826

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions