Go to Post the political parties should consist of AndyMarkcrats and IFI-icans.... - Josh Hambright [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-06-2009, 17:27
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,131
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Develop and test C++ camera code without a robot

I was planning to do some C++ programming work with the Axis camera over the summer while I'm at school, in order to become familiar with the some of the stuff the vision library can do, like shape recognition and edge detection. But short of lugging a robot to my dorm room or driving an hour and a half to Niagara Falls every weekend, I didn't have a way to do it. So, cognizant of the fact that NI has provided teams with a Windows version of the C++ vision library, I wrote a tool to help me out, and decided to share it with the community.

It can be found at http://patfair.net/frc/cameratest.

Basically, you connect the camera to your PC via Ethernet and run the application, which I'm calling "FRC Camera Test" for the moment. The program grabs a continuous stream of frames from the camera, does whatever image processing you want, and displays the original image on the left and the results of the processing (image and/or text) on the right. The code provides an interface (in the OOP sense) to make it easy to write your own image processing routines. It's BSD-licensed, so you can modify the code of the main application too, if you want.

Since I just finished writing this tool and haven't really used it too much myself, yet, there will likely be improvements made and features added. Comments and suggestions are welcome.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com

Last edited by Pat Fairbank : 26-06-2009 at 17:30.
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
No robot available to test code on smackee618 Programming 12 15-02-2009 15:43
Problems Combining Camera Code and Driving Code cmurdoch Programming 20 10-02-2007 16:34
Edu Robot Camera Test Bed bear24rw Programming 7 06-08-2006 11:37
Trying to import Camera code into program without. Kingofl337 Programming 1 18-02-2005 00:43
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28


All times are GMT -5. The time now is 09:50.

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