V5 Vision Sensor Configuration

We have no problem with configuring the vision sensor. We configure it to recognize several colours, then create the program to recognize those colours. The program works when we download it onto the brain and run the program. The problem is when we close the program and open it at a later time, it stops recognizing the colours that we set. The colour configurations are still there when we look but it stops recognizing the colours. What are we doing wrong?

1 Like

Hi!

Vision sensors are so fun (and I’m always super excited to see others using them), but yeah they can be a bit temperamental. I’m going to proceed under the assumption that this is the original vision sensor (not AI), but please correct me if I’m wrong with that assumption.

Could you please post your code so we can troubleshoot and see if it’s a code related issue? From the sounds of it, I’m doubtful that this is the problem but it would be really nice to rule this out for sure.

It is decently likely that this is related to changing lighting conditions. When you re-run the program, is it in a different room, or during a different time of day with different sunlight exposure?
Does the room have lighting, and if so, what type of lighting is it (as in, is it full or partial spectrum lighting? ie, fluorescent, led, incandescent, etc).

Also, what objects are you trying to recognize? What colors are the objects? What materials are they made of?

And how are you training the sensor to detect colors? With the configuration utility or are you translating YUV values?

TL;DR: this could be a whole lot of things and we could use some more info, but chances are, this can be sorted out once we know what’s going on.

Like everyone says PLEASE POST YOUR CODE. Also lighting might be a common problem.

1 Like