How can I detect a color using CoreML/Vision and ARKit?

Hi, I'm new to the new Apple Technologies like CoreML/Vision and ARKit. I need to know more about ARKit/CoreML and Vision.

My question is: how can I use CoreML to detect color in scene? Can you route me to the correct resources/examples that I can use to create an app like this?

I need, an example if possible of how can I implement a thing like this and how can I route me in the correct road.

Thanks a lot 🙂.

What exaclty do you want to detect? The amount of colors? The position of a specific color? A histogram? Do you want to track color spots in a video?


It totally depends on your use case. 😉

Why do you want to use CoreML to detect colors in an image? The way I see it is, that CoreML should be used to detect emergent features, like shape or objects. Colors on the other hand are just plain old pixel values. Using statistics like a histogram is way more easy and effective for that.

How can I detect a color using CoreML/Vision and ARKit?
 
 
Q