Circle counter application using computer vision hough circle transform algorithm. Another capabillity of this application is to save bounding boxes for object detection tasks for deep learning porpuses. It saves a xml
file named the same as image name in opened directory for labels. The structure of the xml file inherited from labelImg project which is suitable for tensorflow. You can also open the same directory with labelImg to correct labels.
First clone project to your directory, Then install following packages:
pip install numpy opencv-python matplotlib pillow
After installation run it by this command:
python main.py
You can change default config using init
function in main.py
file:
config = {
"img_default_width": 600,
"img_default_height": 400,
"minDist": 22,
"minRadius": 22,
"maxRadius": 50,
"gaussian_default": 5,
"median_default": 7,
"threshold": 0
}