This project contains a Python code that detects the pixel diameters using Python and OpenCV, and marks them in green color.
In example, code detects the pixel diameters of the 5 bolt holes and the center hub on a wheel image.
Install the required dependencies:
pip install -r requirements.txt
- Clone the repository to your local machine using the following command:
git clone https://github.com/mstftmk/Circle-Detection.git
- Navigate to the project directory:
cd repo-path
- Run the code:
python circle_detection.py Image1.png
Contributions to the project are welcome! If you find any bugs or want to enhance the functionality, feel free to open an issue or submit a pull request.
- Fork the project (https://github.com/mstftmk/Circle-Detection/fork)
- Create your feature branch (git checkout -b feature/fooBar)
- Commit your changes (git commit -am 'Add some fooBar')
- Push to the branch (git push origin feature/fooBar)
- Create a new Pull Request