<< return to Pixycam.com

Tracking Vectors of Objects

I wanted to start a post to see if anyone else is working on tracking vectors of objects detected by Pixy. In my application, I need to determine when an object abruptly changes direction, and it seems like computing the vector based on position deltas would be the most logical approach.

This would be helpful for gesture recognition, but I have a much simpler and fun idea in mind. I would like to determine when a colored juggling ball leaves your hand, and when it does use this to choreograph a song :slight_smile: The song may be something recognizable, however based on your juggling pattern it might not sound right but would still be fun. Also it would cool to just create a simple synthesizer that responds to different colors in motion and direction change.

If anyone else is working on something similar I would love to collaborate here with code snippets. When I get something working I’ll post a reply.

If anyone has any advice that would be helpful as well, thanks!

Good luck with your project! Be sure to let us know how it goes. We’d love to hear what kind of applications Pixy has been used for!

Scott

I am also interested in using Pixy and IR-Lock to do particle tracking.

There are two issues which I think need to be focused on:

  1. Configuring the software to detect multiple objects of the same color. This was done in the demo video, but I have not found the code.

  2. Exporting and post-processing of the center positions (the positions are the particles). I already have experience in particle tracking and have MATLAB code for both the Euler and Runge-Kutta 4 which can be used to estimate the velocity field in the image, or the velocity of each particle.

Pixy could be a great device for particle tracking, and I am more than happy to contribute.

Jeff

Hi Jeff,

Pixy will always detect and return block data on all objects of the trained color. So no extra code is needed to make this happen.

Let us know if you have any other questions.

Scott