Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   How can we reduce the lag for camera? (http://www.chiefdelphi.com/forums/showthread.php?t=101950)

mayingjunlang95 04-02-2012 14:13

How can we reduce the lag for camera?
 
We have a huge lag for camera during the vision processing, how can we reduce it?

Greg McKaskle 04-02-2012 14:43

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

dotbran 04-02-2012 14:47

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

mayingjunlang95 04-02-2012 14:53

Re: How can we reduce the lag for camera?
 
Quote:

Originally Posted by Greg McKaskle (Post 1119858)
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?

mayingjunlang95 04-02-2012 14:54

Re: How can we reduce the lag for camera?
 
Quote:

Originally Posted by dotbran (Post 1119863)
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.

Greg McKaskle 04-02-2012 15:11

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


All times are GMT -5. The time now is 11:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi