|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to use USB Cam
We are using (or at least trying to) a Microsoft Lifecam-3000, and had it working semi-functionally last year, but last years code will not work this year. I checked the RIO and the camera name is "cam0" if that matters this year. I already checked the wpi link: http://wpilib.screenstepslive.com/s/...ifecam-hd-3000
I'm not trying for any vision processing on this camera, just to be able to stream from SmartDashboard. I'm not sure if there is a code component or if I just need to do something in SmartDash. Can anyone help? |
|
#2
|
|||
|
|||
|
Re: How to use USB Cam
Put:
UsbCamera camera = CameraServer.getInstance().startAutomaticCapture() ; camera.setResolution(640, 480); |
|
#3
|
|||
|
|||
|
Re: How to use USB Cam
In addition to this, in the SmartDashboard, click 'Add' then 'Camera Stream viewer'.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|