Go to Post "I'm not teaching you math, I'm teaching you how to think. Hopefully that'll be useful to you someday..." - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #2   Spotlight this post!  
Unread 03-10-2012, 07:57 PM
dvanvoorst dvanvoorst is offline
Registered User
FRC #2771 (Code Red)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Grand Rapids, MI
Posts: 61
dvanvoorst is an unknown quantity at this point
Re: Using camera to track rectangles

It's not too hard to get some basic functionality. One warning though - at this late date you want to be very careful about adding image processing code to your robot. If not done well, it can introduce significant lag issues.

That being said...you want to start by making sure you have the latest update for the FRC libraries in your Netbeans. A new sample program was added part way into the build season. Create a new project, go to Samples, then FRC Java, and choose the "CameraTestProject". This will give you a sample program that has the key image processing routines in it.
It also includes sample images to test with and a Vision Assistant script to experiment with.
Using Vision Assistant (which should be on your Drivers Station) is hugely helpful in testing and tuning your image processing routines. Vision Assistant can also be used to acquire your own real images to test with.

Hopefully that will get you started! It's some pretty neat stuff.

Dale Van Voorst
Reply With Quote
 


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 07:40 AM.

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