Thread: C++ Vision
View Single Post
  #8   Spotlight this post!  
Unread 14-03-2013, 10:21
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,055
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: C++ Vision

Quote:
Originally Posted by Dreuxtray View Post
Okay, so I looked at Open CV and it doesn't seem to be anything on getting the camera. Do yall use the WPI libraries to set up the camera and then use OpenCV to do the processing?
If you execute the stuff on the robot, you're better off using NIVision, in which case you would use the WPI Libraries to set things up. On the driver station or some other processing platform, there's a variety of ways to capture images from the camera.

One way of doing it is with the VideoCapture class, with a connection string something like "http://10.xx.xx.11/mjpg/video.mjpg". However, beware of significant startup delays in the default build of OpenCV. See http://www.chiefdelphi.com/forums/sh...d.php?t=114806
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote