Log in or register to post comments

Image recognition based on Color

March 13, 2019 - 10:53pm #1

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

Image recognition based on Color

March 22, 2019 - 12:35am #7

medabit wrote:

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

 

You could read this 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.

Image recognition based on Color

March 18, 2019 - 6:25am #6

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

Image recognition based on Color

March 18, 2019 - 3:19am #5

HI, 

If I am using Vumarks, will it detect the colors? My targets will remain same only color changes will be there and based on that different scenarios will be built. If I create different Vumarks with different Code/Element, will it detect that on runtime based on colors? Is it possible to create VuMark on image attached below?

 

AttachmentSize
Image icon plugs.jpg428.45 KB

Image recognition based on Color

March 15, 2019 - 6:54am #4

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.

Image recognition based on Color

March 14, 2019 - 9:44pm #3

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

 

Image recognition based on Color

March 14, 2019 - 7:58am #2

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.  

If you can, i'd suggest placing some kind of differentiating marking on each image targets next to the cable ports and use that to track.

Log in or register to post comments