Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.28 KB

File metadata and controls

51 lines (33 loc) · 1.28 KB

Circle Detection

This project contains a Python code that detects the pixel diameters using Python and OpenCV, and marks them in green color.

Example

In example, code detects the pixel diameters of the 5 bolt holes and the center hub on a wheel image.

Input Image Image1

Result Image Image2

Requirements

Install the required dependencies:

pip install -r requirements.txt

Usage

  1. Clone the repository to your local machine using the following command:
git clone https://github.com/mstftmk/Circle-Detection.git
  1. Navigate to the project directory:
cd repo-path
  1. Run the code:
python circle_detection.py Image1.png

Contributions

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