Giter Site home page Giter Site logo

python-cv-samples's Introduction

DISCONTINUATION OF PROJECT

This project will no longer be maintained by Intel. Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project. Intel no longer accepts patches to this project.

python-cv-samples

Python computer vision samples

python-cv-samples's People

Contributors

evefg4 avatar fromgilbert avatar ianxsmith avatar sfblackl-intel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-cv-samples's Issues

Incorrect output

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.

gauge-2-lines-2

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.

gauge-5-lines-2

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

gauge-6-calibration

Not working for gauge-2.jpg

Hi,
I executed code on gauge-1.jpg, and got results successfully. But If I run the same code for gauge-2.jpg which is in "images" folder, I am getting this error.

File "analog_gauge_reader.py", line 199, in get_current_value
   x1 = final_line_list[0][0]
IndexError: list index out of range

What I am missing ??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.