• Aleksandar Atanasov's avatar
    Added small fix when circles are not detected · c5bbc035
    Aleksandar Atanasov authored
    I noticed that I missed the fact that `cimg` is used in the second `imshow()` call. Changed the scope of the second function call to be within the if-statement. Otherwise in cases where have not been detected the second `imshow()` will attempt to use `cimg` which will be empty leading to an error.
    c5bbc035
houghcircles.py 1.17 KB