jhavl / robotacademy-code

Code Translations for Robot Academy
MIT License
2 stars 3 forks source link

Finding Color Objects in a scene python blobs issue #26

Open Tjeard0 opened 9 months ago

Tjeard0 commented 9 months ago

https://robotacademy.net.au/masterclass/color/?lesson=727

the python code has an issue where the blobs function is dividing by 0 for some reason and is throwing an error, the rest of the code should all be working

Tobias-Fischer commented 8 months ago

Might be because of single pixel blobs. That needs fixing.

Tjeard0 commented 8 months ago

It was a relatively quick fix, ill submit a correction for the machinevisiontoolbox

Tjeard0 commented 7 months ago

I have submitted a pull request to the machinevisiontoolbox github, will close this issue down once the pull has been completed

Tobias-Fischer commented 7 months ago

xref https://github.com/petercorke/machinevision-toolbox-python/pull/5