How to detect blue color in blue background like sea
Hi,I'm working on a task to detect blue ball in sea with opencv. How can i detect it without overlapping with sea or sky color ? Should i use bit-wise operations ?
Do you have any sample images??
In a case when you can't use color detection, the next step is to try texture segmentation (Haralick, Gabor filters, wavelets, structure tensors...).
The blue ball and blue sky are not the same, because of colour ranges. You will have to two ranges one for ball and one for sky
using blob detection you can easily detect blue color in blue background. take reference from here :- https://www.learnopencv.com/blob-dete...
Yeah actually @supra56 it worked .Wanted to know the same thing mcdvoice