Camera Visualization Problem - Tutorial8

Dec 6, 2009 at 11:44 PM



I'm having some problems with Tutorial8.

When I launch it, I see the FPS message in the left screen corner but I'm not be able to see the camera image.

I'm able to launch the Alvar SampleCamCalib and the Image was displayed as well as CaptureTest.exe from DirectX from DshowNet.

can someone help me with this issue?


Regards and nice work

Dec 7, 2009 at 5:43 PM

Do you have more than one camera device (both virtual and physical) attached to your camera? In Goblin XNA, you need to indicate which camera to use by passing the camera ID in the InitVideoCapture function. By default, Tutorial 8 uses ID 0. If you have more than one camera, then the ID can be from 0 to (# of camera - 1). Try other IDs if you don't see any image. If the ID is above the # of devices available, it'll throw an exception indicating that it's out of range.