Go to Post I don't think Brandon is actually doing this, I think he has CD-47 Bot and Archiver locked in a closet doing all this while he has fun - Mike Schroeder [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 04-02-2012, 14:13
mayingjunlang95 mayingjunlang95 is offline
Registered User
FRC #0540
 
Join Date: Nov 2011
Location: godwin
Posts: 5
mayingjunlang95 is an unknown quantity at this point
How can we reduce the lag for camera?

We have a huge lag for camera during the vision processing, how can we reduce it?
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2012, 14:43
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How can we reduce the lag for camera?

Can you give more information about how much lag, how you are doing processing, etc?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2012, 14:47
dotbran dotbran is offline
Registered User
AKA: Brandon Olsen
FRC #3219 (TREAD)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Auburn, WA
Posts: 68
dotbran is on a distinguished road
Re: How can we reduce the lag for camera?

Quick solutions:
  • Always plug the camera into your robot's bridge.
  • Reduce resolution to 320x240
  • Reduce color depth
  • Set exposure priority to framerate
  • Increase compression
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2012, 14:53
mayingjunlang95 mayingjunlang95 is offline
Registered User
FRC #0540
 
Join Date: Nov 2011
Location: godwin
Posts: 5
mayingjunlang95 is an unknown quantity at this point
Re: How can we reduce the lag for camera?

Quote:
Originally Posted by Greg McKaskle View Post
Can you give more information about how much lag, how you are doing processing, etc?

Greg McKaskle
It has about 3 seconds lag. We are using a code we found online that only attracts one color and calculates the distance between the object and the robot. There was no lag before we use the code, but it has like a 3 second delay after we apply the code. Is it because there are too many calculations going on or something?
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2012, 14:54
mayingjunlang95 mayingjunlang95 is offline
Registered User
FRC #0540
 
Join Date: Nov 2011
Location: godwin
Posts: 5
mayingjunlang95 is an unknown quantity at this point
Re: How can we reduce the lag for camera?

Quote:
Originally Posted by dotbran View Post
Quick solutions:
  • Always plug the camera into your robot's bridge.
  • Reduce resolution to 320x240
  • Reduce color depth
  • Set exposure priority to framerate
  • Increase compression
Everying is okay before we do any processing to the image.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2012, 15:11
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How can we reduce the lag for camera?

Without information, I can give general guidance, but it is hard to be specific.

Perhaps you even want to post the code.

Greg McKaskle
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:23.

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