Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Camera Image w/o CRIO? (http://www.chiefdelphi.com/forums/showthread.php?t=100709)

sand500 20-01-2012 12:26

Camera Image w/o CRIO?
 
This year, we are planing to make our own dashboard in java. If we hook the camera directly to the radio, how would we go about accessing the camera image from the computer running the driver station?
Since the Axis Camera has a URL for the MJPEG and JPEG images, could we some how stream the MJPEG directly? or would we have to constantly get JPEG and keep on updating the image on our dashboard?

This code seems like it would work but it seems like they are using a custom package. http://www.walking-productions.com/n...lash-and-java/

rockytheworm 20-01-2012 12:41

Re: Camera Image w/o CRIO?
 
We used this block of code and it worked:
Code:

cam=AxisCamera.getInstance();
cam.writeResolution(AxisCamera.ResolutionT.k640x480);
cam.writeBrightness(0);

If your camera is formatted for use through your radio it should work fine.

sand500 20-01-2012 14:29

Re: Camera Image w/o CRIO?
 
Quote:

Originally Posted by rockytheworm (Post 1109784)
We used this block of code and it worked:
Code:

cam=AxisCamera.getInstance();
cam.writeResolution(AxisCamera.ResolutionT.k640x480);
cam.writeBrightness(0);

If your camera is formatted for use through your radio it should work fine.

That code goes in the CRIO, basically we want the image to go directly from the camera to the control computer. We really do not want to get the CRIO involved at all.

shuhao 20-01-2012 14:45

I'm pretty sure you could find the mjpeg stream via an HTTP connection


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

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