Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Reliability of Pixy Camera? (http://www.chiefdelphi.com/forums/showthread.php?t=152019)

nardavin 24-10-2016 03:47

Reliability of Pixy Camera?
 
Our team is considering purchasing a Pixy camera (link below) to hopefully use in next year's game. For the teams that have used a Pixy in the past, how reliable has it been? As it uses hue-based filtering, have any teams had problems tracking greyscale objects (such as the 2016 boulders)?

Also, after reading through the docs it looks like the get x, y locations are pixel-based. This seems like it may be an issue as the camera appears to have a fairly fish-eye lens (see photo linked below). Has this been an issue for any teams that do vision tracking by using vector-based calculations and moving by gryo angle rather than direct camera feedback?

Pixy: http://charmedlabs.com/default/pixy-cmucam5/
Fish-eye example: http://i74.photobucket.com/albums/i2...ps1e87977b.jpg

Thanks!

solomondg 24-10-2016 04:38

Re: Reliability of Pixy Camera?
 
You're not going to be able to track the greyscale boulders, but the Pixy should be fine for stuff like the retroreflective tape on the goal. At least from our observations, the Pixy has a huge lack of contrast or color --- everything's pretty washed-out, so you'll only be able to do bright colors.

Fisheye shouldn't be that much of a problem. Worst case, you can use OpenCV to determine the distortion factors, then write a correction software-side.

Gdeaver 24-10-2016 07:10

Re: Reliability of Pixy Camera?
 
My opinion is that the Pixycam would probably be better on a FTC - VEX scale field. Lighting variations and FRC field scale gave it problems when we tested it. In my opinion it might be better to bite the bullet and invest resources in learning grip - Opencv with some camera choices. Our student are working on a PI3 and opencv for next year. We used grip and a Pi2b this year. I would say that grip was a good learning tool.

ItsTheRealAce 24-10-2016 08:34

Re: Reliability of Pixy Camera?
 
Hey, so my team bought the Pixycam during the off season. It is one of the easiest visioning cameras to use. From what I have seen on my team's Pixycam is that it doesn't have to much of a fisheye effect to it, also if does are team didn't do anything to fix it and it works great at our shop. Sadly we didn't get to try it out at an off season. The only problem with the Pixycam is you can't really get both x and y, at least yet. What is very helpful is for it to work you just have tell you Pixy what it is looking for once, on the computer interface, and then it sends you a voltage depending where it is and then you code for it.

Bpk9p4 24-10-2016 11:40

Re: Reliability of Pixy Camera?
 
I have been using the pixymon camera for some fun off season project. Here is are auto aiming ping pong robot https://www.youtube.com/watch?v=2pQD2WqQjCM

It is very impressive however there are some big downsides to it.
1) if you ever brown the camera out it will loose its configuration
2) Camera does not have great resolution so distance is a problem
3) Can not do any advanced shape detection. This is almost a must in FRC

over all i would not recommend it for FRC. It is a lot of fun to play with and to learn but just not great for FRC

Andrew Schreiber 24-10-2016 11:52

Re: Reliability of Pixy Camera?
 
Quote:

Originally Posted by Bpk9p4 (Post 1613240)
2) Camera does not have great resolution so distance is a problem
3) Can not do any advanced shape detection. This is almost a must in FRC

over all i would not recommend it for FRC. It is a lot of fun to play with and to learn but just not great for FRC

I'm grabbing your last two points because I have concerns unrelated to pixy.

2) resolution and distance aren't really required for FRC, shooting from the defenses was very doable for us last year at reasonably low resolutions. I've also had good luck with the CMUcam3 in the past which was probably comparable resolution. Typically the first step I do in any image processing is to lower the resolution of the image so I can process it faster.

3) Last year we did 0 shape recognition, we relied almost exclusively on lowering the exposure on the camera.

I like to think our camera tracking was pretty reliable last year. I guess I'm just disagreeing that you really need high resolution and shape recognition.

Harrison.Smith 24-10-2016 12:07

Re: Reliability of Pixy Camera?
 
On 1296 this year we used the Pixy for our vision both in auton and teliop, it worked great! We did try and use it for some boulder tracking and this did not work very well outside of ~6in, due to the grey boulder and carpet along with the lack of reflectiveness of the boulder. For a year that does not need shape recognition like this year with the tower the Pixy seems to be a relativity easy solution. My favorite part is Pixymon which allows for super easy tuning.

*Disclaimer I am not a programmer/software guy and most of this info was relayed to me from the programmer.

AirplaneWins 24-10-2016 12:56

Re: Reliability of Pixy Camera?
 
Quote:

Originally Posted by Harrison.Smith (Post 1613245)
On 1296 this year we used the Pixy for our vision both in auton and teliop, it worked great! We did try and use it for some boulder tracking and this did not work very well outside of ~6in, due to the grey boulder and carpet along with the lack of reflectiveness of the boulder. For a year that does not need shape recognition like this year with the tower the Pixy seems to be a relativity easy solution. My favorite part is Pixymon which allows for super easy tuning.

*Disclaimer I am not a programmer/software guy and most of this info was relayed to me from the programmer.

This is probably a better question for your programmers, but how did you interface with the Pixy.

Harrison.Smith 24-10-2016 13:51

Re: Reliability of Pixy Camera?
 
Quote:

Originally Posted by AirplaneWins (Post 1613250)
This is probably a better question for your programmers, but how did you interface with the Pixy.

We used analog and dio.

Rangel(kf7fdb) 24-10-2016 14:09

Re: Reliability of Pixy Camera?
 
Quote:

Originally Posted by Andrew Schreiber (Post 1613242)
3) Last year we did 0 shape recognition, we relied almost exclusively on lowering the exposure on the camera.

I like to think our camera tracking was pretty reliable last year. I guess I'm just disagreeing that you really need high resolution and shape recognition.

Agreed. We did basically the same and had a 100% auto shot accuracy at champs. We did use a higher resolution for more precise off center measurements but it was working almost as good with a lower resolution.

electroken 24-10-2016 14:22

Re: Reliability of Pixy Camera?
 
We used the Pixy camera from week 5 on in Stronghold. It was the key to our autonomous high shot and a major contributor to our 9-11 high goal matches. The interface we chose to use was the simplest one (digital/analog X). I found it to be a bit touchy to set up, but once calibrated to the lighting in each venue it worked well.

We did change the lens from the stock one (75 degree horizontal field of view) to I think 51 degrees field of view.

Bpk9p4 24-10-2016 15:04

Re: Reliability of Pixy Camera?
 
I could be wrong about using it on the FRC robot. Sounds like lots of people have had good luck with it

Has anyone seen the problem where if the board browns out you loss your config . Maybe there is just something wrong with my board

nardavin 24-10-2016 15:33

Re: Reliability of Pixy Camera?
 
Quote:

Originally Posted by solomondg (Post 1613199)
Fisheye shouldn't be that much of a problem. Worst case, you can use OpenCV to determine the distortion factors, then write a correction software-side.

How are you able to use OpenCV with the Pixy? I was under the impression that there was no way to pull the raw feed from the camera.

cad321 24-10-2016 15:53

Re: Reliability of Pixy Camera?
 
Quote:

Originally Posted by nardavin (Post 1613294)
How are you able to use OpenCV with the Pixy? I was under the impression that there was no way to pull the raw feed from the camera.

Although I don't know how, I would imagine there is some way of getting the raw feed from the pixy over usb. I say this because in pixyMon you can view the live feed from the camera. Again though, I'm not sure how one could access this through say open.

Andrew Schreiber 24-10-2016 20:04

Re: Reliability of Pixy Camera?
 
Quote:

Originally Posted by nardavin (Post 1613294)
How are you able to use OpenCV with the Pixy? I was under the impression that there was no way to pull the raw feed from the camera.

You aren't. I think what they are mentioning is taking an image off the pixy and run it through opencv's distortion stuff. Then in robot code apply the transform to the position returned by the pixy.


All times are GMT -5. The time now is 13:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi