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 1 year ago

Tjeard0 commented 1 year 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 12 months ago

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

Tjeard0 commented 12 months ago

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

Tjeard0 commented 11 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 11 months ago

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