fix blobdetector
Fixing errors
Merge pull request #3190 from StevenPuttemans:fix_simpleblobdetector