"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Image recognition based on Color

Hi, 

I am not able to detect the image targets based on color. I want to implement different scenarios based on the different color of the similar object( different color of 3 pin cable ports eg. RED, YELLOW, WHITE ).  

I can see that image targets in vuforia works based on yellow markers. Is there any way to implement this using different color?

Thanks in advance, 

Meghaksh

Vuforia converts everything to grayscale internally, so it has no conception of color.  You could read the camera frame after detection, calculate where in the frame a specific color needs to be and then handle the appropiate action, but you'd need to program this all yourself.  

HI, 

Is it possible to use VuMarks for this case? Can I create different VuMarks for all possible scenarios and identify correct or incorrect instances?

Or is it possible to do it with OpenCV? If yes then please send reference.

Thanks, 

Meghaksh

VuMarks would be a good choice.  Place different VuMarks next to each different scenario you want to track.  Sure it's possible in OpenCV, you gotta build it all out yourself though.

medabit

Mon, 03/18/2019 - 13:25

In reply to by meghakshb

Hello @meghakshb,

Recognition of colors in Vuforia is not possible as all camera images are converted to grayscale for Engine SDK processing.

Thanks,

Vuforia Engine SDK

Madeline733

Fri, 03/22/2019 - 07:35

In reply to by medabit

[quote=medabit]

Hello @meghakshb,

Recognition of colors in Vuforia is not possible as all camera images are converted to grayscale for Engine SDK processing.

Thanks,

Vuforia Engine SDK

[/quote]