Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Camera Streaming (http://www.chiefdelphi.com/forums/showthread.php?t=145353)

414cnewq 07-03-2016 12:15

Camera Streaming
 
Is there a way to remove the lag on the USB camera to the driver station (a setting on the camera, etc...)? If not, is there any way to have a snapshot button on the controller?

lethc 07-03-2016 12:16

Re: Camera Streaming
 
Quote:

Originally Posted by 414cnewq (Post 1552802)
Is there a way to remove the lag on the USB camera to the driver station (a setting on the camera, etc...)? If not, is there any way to have a snapshot button on the controller?

What camera?

What programming language?

414cnewq 07-03-2016 12:31

Re: Camera Streaming
 
Quote:

Originally Posted by lethc (Post 1552804)
What camera?

What programming language?

Microsoft Lifecam HD-3000 and C++

bdaroz 07-03-2016 13:00

Re: Camera Streaming
 
Will also add we have both a C++ and Java version of our robot code (don't ask) and we had lag on both. (Lag in the video stream, specifically)

The0range 07-03-2016 13:44

Camera Solutions
 
You have two main options, one being mjpg streamer (if using an off board device for vision) to see the camera through the browser, link here: https://github.com/jacksonliam/mjpg-streamer
You can also look at this tutorial on how to use the camera from the Roborio, link here: https://wpilib.screenstepslive.com/s...ifecam-hd-3000

virtuald 07-03-2016 14:22

Re: Camera Solutions
 
Quote:

Originally Posted by The0range (Post 1552898)
You have two main options, one being mjpg streamer (if using an off board device for vision) to see the camera through the browser, link here: https://github.com/jacksonliam/mjpg-streamer
You can also look at this tutorial on how to use the camera from the Roborio, link here: https://wpilib.screenstepslive.com/s...ifecam-hd-3000

You can also use mjpg-streamer on the roborio.

The Lucas 07-03-2016 14:30

Re: Camera Streaming
 
Pay attention to your CPU usage on both the rRIO and laptop. Video streaming can be very taxing on both. Also try different resolutions and frame rates. Finally, there is a C++ specific update for CameraServer, make sure you installed it.

snekiam 07-03-2016 22:35

Re: Camera Streaming
 
We have a raspberry pi with MJPG streamer running with ~30ms of lag, which is pretty good for a wireless webcam stream I think.


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

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