I have a UIImageView in my Xcode project. I am trying to find a way that I can detect CERTAIN colors (e.g. Some shade of red) in an image. I can't seem to find any way to do this. Does anyone know how this could be achieved?
I have seen different ways how to find the "average color" in the photo. I am wondering if there is a way to specifically "detect" a certain color that may be in an image.
For example in this image is there a way I can detect that there is that color of red in the photo. Blue and Red Rectangles
Thanks