Python
https://www.python.org/downloads/
Do not forget to install OpenCV packages for Python.
To run python script:
-
You can use your favorite Python IDE (I use PyCharm)
-
If you are looking for very lightweight IDE use Geany. It opens very fast. I use it for simple projects
- You will have to configure Geany for Python.
-
Look inside this website to see different ways to run Python script! How to run Python script
Table below shows 2 out 5 existing pictures in 'pictures_before_script' folder. Feel free to add more and run the script. All picture variables are in 'PythonOpenCV.py' file from line 57 to 62. Feel free to pick any one you want using '#' as comment.
This script only calculates angles for triangles!
Before | After |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |