The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Image Processing : Capstone Project

Image Processing : Capstone Project

0
Votes
1
Answer

Hello,
I was going through the Capstone Project for “The Python Programmer Bootcamp” lesson again, and I came across an issue in the Hough circle transform section.

Well, I have the same code as typed in the lesson but instead of 8 circles, as detected in the lesson, my code detected only 3 of them.

I tried running in all possible environments, spyder, CLI, and also jupyter notebook. The results were the same. Since, I am new to image processing, could you assist me with the code to debug this?

Thanks!

Here is the output for the circle co-ordinates and their respective radii. Code for Hough Circles circles = cv2.HoughCircles(img,cv2.HOUGH_GRADIENT,0.9,120,param1=50,param2=27,minRadius=60,maxRadius=120). If i print this, I just get 3 co-ordinates, out of 8. [[[706.5 132.5 64. ]
[875.5 264.5 70.2]
[735.5 332.5 70.2]]]

6 months

Never mind, reduced the minimum radius value to get my expected output. Cheers!!

6 months
1 Answer

365 Team
0
Votes

Sounds cool! 🙂

×
LAST CHANCE
Ready to Learn Data Science?
50% OFF