OK so let's talk about blubbed detection so blood production songs but where.
However if you've been into Computer Vision world for some time you would have bound to come across
it by now.
So what exactly is a blob.
Well a blob just like a real life blob.
I guess it's just a group of connected pixels that share similar property.
So in this example of the sunflowers here you can see the sense of flowers some flowers all have similar
green tinge here.
That's basically what blubbed ejection has picked up now no properties can be size it can be shape and
we actually get to that shortly.
So in general how do we use open of his simple blood test.
That's demitted what we call in Bigham.
So what do we do first we create or initialize the detector object we input an image into detector.
We then optin the key points and then we draw those key points like we do here.
So let's actually get into the code and do this.
OK.
So let's open a simple blob detector file here selects you for point it.
So here's a code for it here.
Doesn't look too scary.
It's pretty basic actually.
So let's run this could see what's happening here.
So we've loaded up a great skill image of sunflowers that you saw previously and we've identified blobs
in the center of the fellows here.
Quite nice.
So let's see how we do this.
So first if we RIDO imagen and previously.
So if I just putting a zero here we can actually call grayscale image.
I mean at a critical image in here.
However this is zero actually signifies you're writing in this line of function here so you may have
seen some open Sivy functions where we have numbers instead of the actual words here.
That's just shorthand
so I'm moving on.
So the first part of this here is that we need to initialize the doctor.
So we call this function here.
Well this class actually and we create to detect the object and using this object now we actually pass.
We run the detect method within this object here.
We pass the image the input image into it here and this gives us several key points key points being
all blubs detected.
So it is no tuning of parameters here.
What is some tuning up from now is basically here where we draw the key points and image.
Now however these parameters don't affect the number of blobs that were identified they just affect
how would a ball blubbers looked like on the image itself.
So this is pretty self-explanatory here.
In that image the key points we identified so blank actually here as well as open Zeevi type Quick's.
It's just a one by one matrix of zeroes here.
So pretty much ignore it and just use this going forward.
This here's a color which we use yellow is green and red here and this is how we draw the points here.
So it actually just changed this just now to reach key points.
We can see it's actually yellow now.
However Initially we used the default one which I believe was this dude.
The fold there just looks a bit smaller.
So it is no big difference.
OK.
So let's move on to it.
Too many projects where we actually filter different types of blobs because as you saw here in simple
blood detect and detect there's no problem to here.
Well actually there is.
We'll get to it shortly.