Go to Post A few years of stress is worth a lifetime of opportunity. - omegasis25 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2017, 23:20
truell20 truell20 is offline
Registered User
FRC #5806
 
Join Date: Jan 2017
Location: New York
Posts: 11
truell20 is on a distinguished road
Best Cameras for Computer Vision

I was wondering what are the more-popular/best-regarded cameras in the FRC community for computer vision.

My team is currently using two Microsoft Lifecams. The Lifecam maxes out at 30fps, but I don't see us needing more than that. It seems to have autofocus which is nice.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2017, 10:55
ProfessorAlekM ProfessorAlekM is offline
Registered User
FRC #6190
 
Join Date: Jan 2016
Location: Canton, Michigan
Posts: 33
ProfessorAlekM has a little shameless behaviour in the past
Re: Best Cameras for Computer Vision

Pretty much any logitech camera is great for openCV, the most common one being the C270. You can get wider-angle cameras but they are nearly $100, so it's usually easier to just glue a phone camera lens on for a wider FOV.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2017, 11:26
anushad anushad is offline
Registered User
FRC #2876
 
Join Date: Jan 2016
Location: MA
Posts: 38
anushad is on a distinguished road
Re: Best Cameras for Computer Vision

The Pixy is really popular, and it has a bunch of code and libraries available online.
Reply With Quote
  #4   Spotlight this post!  
Unread 28-01-2017, 11:44
Adnewhouse's Avatar
Adnewhouse Adnewhouse is online now
Registered User
FRC #0639
Team Role: College Student
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Ithaca, NY
Posts: 21
Adnewhouse is an unknown quantity at this point
Re: Best Cameras for Computer Vision

Our team is rather fond of the Playstation Eye camera that use to be an accessory for the PS3. It costs less than ten dollars and does 60fps at 480p (also 120fps at 320p, but we've never tried that). This is pretty ideal for vision tracking. The image sensor has ridiculously large photosites, so there is very little image noise to worry about. The only downside is that they don't work on Windows systems very well without a third party driver. On the raspberry pi, it works just fine with OpenCV. You can get them on ebay because they are not made any more.

Last edited by Adnewhouse : 28-01-2017 at 11:49.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-01-2017, 11:54
Commandman7 Commandman7 is offline
Registered User
FRC #4362 (Gems Robotics)
Team Role: Mentor
 
Join Date: Jan 2017
Rookie Year: 2013
Location: Howell, Michigan
Posts: 5
Commandman7 is an unknown quantity at this point
Re: Best Cameras for Computer Vision

Last season we had great success with the Logitech C920 / 922 / 922x. These cameras are great because they have built in H.264 Encoding, which really took a lot of stress off our vision processing hardware. In order to use the built in encoding, I had to dig up some ancient software (released 1999) in order to run it, but I'm sure there's a better solution.
Reply With Quote
  #6   Spotlight this post!  
Unread 28-01-2017, 12:23
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 266
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Best Cameras for Computer Vision

The Kinect's IR sensor has never let us down. If you have a Jetson board available, you can use the Kinect v2 to get both IR and RGB at the same time (Kinect v2 requires USB 3.0, while Kinect v1 doesn't). Alternatively, you can use the Depth stream as a cheap-mans IR sensor.
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2017, 21:09
cmastudios's Avatar
cmastudios cmastudios is offline
Registered User
AKA: Connor Monahan
FRC #1706 (Ratchet Rockers)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Missouri
Posts: 12
cmastudios is an unknown quantity at this point
Re: Best Cameras for Computer Vision

We have been able to use the Genius 120-degree (WideCam F100) for multiple years now, which has allowed us to see a greater portion of the field. We were also able to convert the camera to an IR camera by removing the glass filter inside the lens and inserting a clipping of floppy disk between the CMOS and the lens assembly. In 2014, with three of these, we were able to track the entire field, which I wrote about here. I recommend it.
Reply With Quote
  #8   Spotlight this post!  
Unread 28-01-2017, 21:15
AutomationFTW's Avatar
AutomationFTW AutomationFTW is offline
Registered User
FRC #5829
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Houston
Posts: 17
AutomationFTW can only hope to improve
Re: Best Cameras for Computer Vision

Microsoft LifeCam HD-3000

https://www.amazon.com/Microsoft-Lif.../dp/B008ZVRAQS
Reply With Quote
  #9   Spotlight this post!  
Unread 02-02-2017, 13:44
ahartnet's Avatar
ahartnet ahartnet is offline
Registered User
AKA: Andrew Hartnett
FRC #5414 (Pearadox)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2005
Location: Houston, Texas
Posts: 210
ahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond repute
Re: Best Cameras for Computer Vision

Quote:
Originally Posted by Commandman7 View Post
Last season we had great success with the Logitech C920 / 922 / 922x. These cameras are great because they have built in H.264 Encoding, which really took a lot of stress off our vision processing hardware. In order to use the built in encoding, I had to dig up some ancient software (released 1999) in order to run it, but I'm sure there's a better solution.
What was the ancient software you had to dig up?

Some of us remember partying like it's 1999 by the way....
__________________
Team 451 The Cat Attack, Student Alumni (2005)
Team 1646 Precision Guessworks, Mentor (2006-2008)
Team 2936 Gatorzillas, Mentor (2011-2014)
Team 5414 Pearadox, Mentor (2015-Present)
Reply With Quote
  #10   Spotlight this post!  
Unread 01-02-2017, 22:41
Justin Buist Justin Buist is offline
Registered User
FRC #4003 (TriSonics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Allendale, MI
Posts: 27
Justin Buist is an unknown quantity at this point
Re: Best Cameras for Computer Vision

Quote:
Originally Posted by Adnewhouse View Post
Our team is rather fond of the Playstation Eye camera that use to be an accessory for the PS3. It costs less than ten dollars and does 60fps at 480p (also 120fps at 320p, but we've never tried that). This is pretty ideal for vision tracking. The image sensor has ridiculously large photosites, so there is very little image noise to worry about. The only downside is that they don't work on Windows systems very well without a third party driver. On the raspberry pi, it works just fine with OpenCV. You can get them on ebay because they are not made any more.
It also doesn't work with the roboRio, at least not out of the box. We've tinkered with them a bit this year. The most promising thing, to me, about them is that you can pull the IR filter out and replace it with Mylar (or the inside of an old floppy disk) to block most visible light but let IR through.

The pi works with the camera just fine though. Had two students "struggle" with getting it to work on their Windows and Mac machines but popped it into the pi and it was just fine. Not sure why the roboRio is crippled with only supporting the "uvcvideo" kernel module and none of the other USB webcams. I could understand it if they really nailed that one down but the Wpilib documentation and interaction with v4l2 is so bad even with that limited driver support that it's almost like they didn't try and forced people to get creative.
Reply With Quote
  #11   Spotlight this post!  
Unread 01-02-2017, 23:29
Adnewhouse's Avatar
Adnewhouse Adnewhouse is online now
Registered User
FRC #0639
Team Role: College Student
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Ithaca, NY
Posts: 21
Adnewhouse is an unknown quantity at this point
Re: Best Cameras for Computer Vision

Quote:
Originally Posted by Justin Buist View Post
It also doesn't work with the roboRio, at least not out of the box. We've tinkered with them a bit this year. The most promising thing, to me, about them is that you can pull the IR filter out and replace it with Mylar (or the inside of an old floppy disk) to block most visible light but let IR through.

The pi works with the camera just fine though. Had two students "struggle" with getting it to work on their Windows and Mac machines but popped it into the pi and it was just fine. Not sure why the roboRio is crippled with only supporting the "uvcvideo" kernel module and none of the other USB webcams. I could understand it if they really nailed that one down but the Wpilib documentation and interaction with v4l2 is so bad even with that limited driver support that it's almost like they didn't try and forced people to get creative.
That's a real bummer. The camera is really great on a Raspberry Pi. The sensor is superb and that IR filter hack sounds really cool. I'm guessing recompiling the kernel on the roboRio to support the camera is a no-go because of national instrument's special sauce. We have at least 4 of them floating around because they're so cheap.
Reply With Quote
  #12   Spotlight this post!  
Unread 02-02-2017, 08:40
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 404
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Best Cameras for Computer Vision

Last year we used Logitech c930e for its wide field of view
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #13   Spotlight this post!  
Unread 02-02-2017, 21:31
Justin Buist Justin Buist is offline
Registered User
FRC #4003 (TriSonics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Allendale, MI
Posts: 27
Justin Buist is an unknown quantity at this point
Re: Best Cameras for Computer Vision

Quote:
Originally Posted by Adnewhouse View Post
I'm guessing recompiling the kernel on the roboRio to support the camera is a no-go because of national instrument's special sauce. We have at least 4 of them floating around because they're so cheap.
It's all GPL code for the kernel, so there's no secret to it. I forget what kernel version the roboRio is running this year but it has to be one of these branches: https://github.com/ni/linux/tree/nilrt_pub/16.0/4.1

I think it's the 4.1 one but not sure. It's do-able, but tossing a pi in the mix and using NetworkTables to toss relevant vision data back to the roboRio sounds less risky.

Just my two cents.
Reply With Quote
  #14   Spotlight this post!  
Unread 04-02-2017, 13:27
sparkytwd's Avatar
sparkytwd sparkytwd is offline
Registered User
FRC #3574
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Seattle
Posts: 102
sparkytwd will become famous soon enough
Re: Best Cameras for Computer Vision

Quote:
Originally Posted by Adnewhouse View Post
That's a real bummer. The camera is really great on a Raspberry Pi. The sensor is superb and that IR filter hack sounds really cool. I'm guessing recompiling the kernel on the roboRio to support the camera is a no-go because of national instrument's special sauce. We have at least 4 of them floating around because they're so cheap.
They're not UVC based cameras so they need special drivers in the Linux kernel. I'm not sure if you can add modules on the Roborio, but in theory it would be possible to get it working with the kernel source and a crosscompiler.
Reply With Quote
  #15   Spotlight this post!  
Unread 28-01-2017, 21:47
troy_dietz's Avatar
troy_dietz troy_dietz is offline
3D printing and Alliance Captain
FRC #0330 (The Beach Bots)
Team Role: Human Player
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Hermosa Beach
Posts: 114
troy_dietz will become famous soon enough
Re: Best Cameras for Computer Vision

Shameless plug: If you have access to a 3d printer, I've made a minimalist mount for the LifeCam-3000 here: http://www.thingiverse.com/thing:1494829

The Microsoft LifeCam HD‑3000 is one of the most common due to its small size and low price, as well as being available from FIRSTChoice for several years.

Axis network cameras are also popular due to their many features and adjustable options.
__________________

Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:47.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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