How to detect if one color is similar to another in opencv?

1

The most probable thing is that the wording of the question is not correct, but I can not think of how to write it. Adobe Premiere Pro has the green screen option and you can tell it to erase the color you selected and all the similar colors within a range (ex: I have a green and I erase that green and lighter and darker greens. is if you can do something similar (I mean detect all greens for example) in opencv with python.

    
asked by ElAlien123 02.01.2019 в 00:01
source

1 answer

1

Yes you can, it's called segmentation by color I leave you a good tutorial that talks about it: link

Likewise I leave you a good PDF if you want to understand how the algorithmic and mathematical part of the segmentation works, you do not have to read everything, I think the first pages will give you more or less an idea.

    
answered by 02.01.2019 в 02:47