<< return to Pixycam.com

Fake line formation

Hi every one,
I am working on a project for rotary wing UAV flying over parallel lines. We bought one Pixy recently because of its high speed and We want to treat the Pixy as a black box. The idea is that we want to create a fake line with multiple aligned balls using a signature color. Then a micro-controller (our autopilot) receiving the x, y coordinates of those balls to calculate the faked line parameters in the image. It is this feasible? Is the provided serial protocol suitable for this application.
Thanks

Hi Hui,

When you say “faked line”, do you mean the line that would intersect all of the balls in your image?

If I’m interpreting your question correctly, then I believe Pixy will work for your application. Pixy sends out block information, which is the location and size of the detected objects (in your case, the balls) in the image. Using this location information, you can determine the best-fit line for intersecting the balls.

Hope this helps. Let me know if you need anything else.

Scott

Hi Scott,
Thanks for your reply. I think your interpretation is correct. :slight_smile:

Our project aims to make the UAV flying over parallel power transmission lines using vision and IMU sensors. Since we do not have much expertise on computer vision and has to focus on control theory, we choose the Pixy. But Pixy only provides x-y coordinates of blobs. Hence, we want to put multiple balls with the same colour to create a fake line, for example, two balls (two point) can parametrize one line. Based on the image coordinates of multiple blobs projected onto the image, we can fit the them into a line.

I guess in the future your group will release the color code soon, which is interesting for us. And if you guys can provides image line features too in the future, that will be great. :slight_smile:

Hui

Hi Hui,

Our color code is actually already released. You can find all of it at our “Github”:https://github.com/charmedlabs/pixy page.

Once we fix all of the bugs and complete the features we’ve already promised we’ll likely add more computer vision algorithms for Pixy. Hopefully you’ll be able to benefit from whatever comes next. We’d also love to see the community start writing CV algorithms for Pixy :wink:

Thanks, and good luck with your project!

Scott