Go to Post Design is iterative, right? - JesseK [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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
  #4   Spotlight this post!  
Unread 12-01-2010, 23:56
buddyb's Avatar
buddyb buddyb is offline
Registered User
FRC #1885 (ILITE)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Haymarket, VA
Posts: 65
buddyb has a spectacular aura aboutbuddyb has a spectacular aura aboutbuddyb has a spectacular aura about
Re: How to speed up the camera

I agree with squirrel; lowering the size of the pictures (which I believe we did last year) is the best way to reduce camera lag. In addition, any image processing being done (ie scanning the picture for a pattern/etc.) should be kept to a minimum. Do some tests, like constructing a model target and seeing how detailed it is from 60' away. If it seems really detailed, then cut down the image size. You don't need a ton of detail for the target; a 2 or 3 pixel thick black oval will do. (Cutting down the image size reduces the amount of data that must travel, and the amount of data one must sift through if one is searching through the image for a target, and the amount of RAM used).

I haven't looked in to the Camera's documentation at all, but if it offers different functions for kinds of color scanning (for example, scanning for RGB values instead of HSV), try scanning for RGB; I have *heard* that RGB functions are slightly faster than HSV, but that was on a different platform (Pascal programming) and obviously a different compiler, so take this worth a grain of salt, if even that.
__________________
FRC - Team 1885 - Programmer.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed of the camera nickmagus Programming 86 20-02-2009 21:40
how to limit speed on the motors. haxor5354 Programming 2 07-02-2009 07:51


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

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