Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Axis Camera (http://www.chiefdelphi.com/forums/showthread.php?t=134576)

BLUEBELL 14-02-2015 10:18

Axis Camera
 
How can I use an Axis Camera to send a camera feed without using Vision in Java?

CreativeName55 15-02-2015 09:18

Re: Axis Camera
 
What do you mean? You just want the basic camera view to come up on smartdashboard or something without doing any vision processing?

JacobD 16-02-2015 15:16

Re: Axis Camera
 
Code:

import edu.wpi.first.wpilibj.vision.AxisCamera;

AxisCamera cam1 = new AxisCamera("10.XX.XX.X"); //put in your camera's ip
               
public static AxisCamera.Resolution k640x360;

https://wpilib.screenstepslive.com/s...an-axis-camera

Follow those instructions exactly then...

Put this into your code.

BLUEBELL 16-02-2015 20:07

Re: Axis Camera
 
Will that display the camera on the dashboard?

JacobD 16-02-2015 20:25

Re: Axis Camera
 
Yes it will, you just have to go to your dashboard and add the camera with the ip.

BLUEBELL 17-02-2015 20:10

Re: Axis Camera
 
Where do I go on the dashboard to add the camera?

JacobD 17-02-2015 20:43

Re: Axis Camera
 
Quote:

Originally Posted by BLUEBELL (Post 1446048)
Where do I go on the dashboard to add the camera?

I believe it is somewhere on the bottom right side. It lets you choose from Ip Camera, HW Webcam, or SW Webcam.

nickmcski 18-02-2015 12:16

Re: Axis Camera
 
Quote:

Originally Posted by BLUEBELL (Post 1446048)
Where do I go on the dashboard to add the camera?

Are you using SmartDashboard or SmartDashboard 2 (SFX)?


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