<< return to Pixycam.com

White Object Tracking For myRIO

There is a white object that we are tracking for our project. I understand that is a problem, so I was thinking about either doing some insane programming or doing something as simple as putting a colored, see-through film over the lens. I also want the camera to communicate with the NI myRIO using USB, UART, or I2C. If there is another form of communication possible with the myRIO, that is fine.

My question, before I start researching, is:

Is this possible?

Also, where is a great place to start learning about the firmware? I am starting from scratch and don’t have much background knowledge on the software.

Thank you and any results I get I will absolutely post for everyone.

Hi Shane,

As for learning the firmware, the best place right now is just the “repo”:https://github.com/charmedlabs/pixy. Unfortunately we don’t have much documentation on how the firmware works at the moment.

Covering the lens with a see-through colored film is an interesting idea. I guess your results will depend on how much contrast there is between the objects you want to track and not want to track. If its a white object on black background then this would definitely work. Good idea.

Pixy should be able to communicate to your myRIO with any of those methods (also SPI).

Scott

Cool thanks. It worked! Now just need to be able to send the NI myRIO the location of the object on the screen. That should be easy enough.

Great, glad it worked out! Let us know if you have any other questions.

Scott

Hi Shane Orton,

i have the same problem —Tracking the White Object, but i just can not solve it :frowning: I would be very grateful if you could give me some advice. How do you make it?

Bin

Bin,

I have been researching a lot through this forum and have found that people have been changing the firmware to detect luminance rather than color. I logged over 10 hours in research and have not found much. Unfortunately, you have to read a lot of unrelated information until you find the information you are looking for.

http://www.cmucam.org/boards/9/topics/2649

That thread is where I got most of my information. I wish you the best of luck, but we might be switching devices to avoid having to understand all of the code in the firmware. It seems like a long project.