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
{{ message }}
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
Hi,
At first, I have tired gauge-2.jpg. But the reading is not right.
It shows the results 21.996410023136274. I passed the values
Min angle (lowest possible angle of dial) - in degrees: 50
Max angle (highest possible angle) - in degrees: 320
Min value: 0
Max value: 200
but the results should not be ~22. it's roundabout 30.
The second problem is I am using some different type of images and the results are far away. How I can improve this project to work on my custom inputs?
Here are the results on my inptus.
and for this kind of inputs, it is throwing errors.
gauge number: 6
Min angle (lowest possible angle of dial) - in degrees: 50
Max angle (highest possible angle) - in degrees: 310
Min value: 0
Max value: 0.6
Enter units: mps
Traceback (most recent call last):
File "analog_gauge_reader.py", line 266, in <module>
main()
File "analog_gauge_reader.py", line 262, in main
val = get_current_value(img, min_angle, max_angle, min_value, max_value, x, y, r, gauge_number, file_type)
File "analog_gauge_reader.py", line 199, in get_current_value
x1 = final_line_list[0][0]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
At first, I have tired gauge-2.jpg. But the reading is not right.
It shows the results 21.996410023136274. I passed the values
but the results should not be ~22. it's roundabout 30.
The second problem is I am using some different type of images and the results are far away. How I can improve this project to work on my custom inputs?
Here are the results on my inptus.
and for this kind of inputs, it is throwing errors.
The text was updated successfully, but these errors were encountered: