Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Not seeing MS Webcam images in default dashboard (http://www.chiefdelphi.com/forums/showthread.php?t=133304)

dave1027 24-01-2015 15:18

Re: Not seeing MS Webcam images in default dashboard
 
Quote:

Originally Posted by adamdb (Post 1431788)
We seem to have everything set up correctly and communications seem fine, but we are not seeing images from the MS Webcam on the Default dashboard. I select "Camera HW" (Camera SW also doesn't work) and click the green right arrow button and the counters change showing the frames per second, but we don't actually see an image in that big box on the left. We have tried both USB ports on the roboRIO, but no images.

Ideas? Other data I need to provide before you can tell me what simple thing we are doing wrong?

Thanks

In order to use the MS Webcam with the default dashboard using JAVA you need to start a camera server in JAVA. the easiest way to do this is to open the Simple Vision example code in eclipse. (File->New Project-> Sample FIRST project->Simple Vision example.) The only thing this code does is stream the webcam to the dashboard and will show you the exact syntax to use.

The only additional thing you should do is connect to the roboRIO via IP in a webrowser and check what address the MS Webcam has been assigned to. It should show up as cam0 or cam1, and you might have to change it in the sample code.

I do not have the programming computer in front of me otherwise i would just include the syntax here. I will check back here later, reply if you need the syntax copied here.

-Dave

notmattlythgoe 24-01-2015 15:27

Re: Not seeing MS Webcam images in default dashboard
 
Quote:

Originally Posted by Joe Ross (Post 1433329)
I was able to run the 2015 Vision Color Sample, which does a color threshold. I modified it (few lines of code) to get the data from the axis camera, rather then a file. It does a color threshold to find the yellow bin.

Where is Vision Color Sample located?

Edit: Never mind, found it after the Java update.

notmattlythgoe 26-01-2015 08:04

Re: Not seeing MS Webcam images in default dashboard
 
Quote:

Originally Posted by Joe Ross (Post 1433329)
I was able to run the 2015 Vision Color Sample, which does a color threshold. I modified it (few lines of code) to get the data from the axis camera, rather then a file. It does a color threshold to find the yellow bin.

We were finally able to get it running, but not with the AxisCamera. The robotRio sees the IP camera as cam0, so I was able to use it just like the USB cameras. Thank for the help.


All times are GMT -5. The time now is 00:43.

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