I have an old bloggie duo use as a webcam to work on the use of the unwrapped 360 degree lens as a visual collision detector for my robotics experiments (http://www.keepad.com/products/sony/Cameras/Bloggie/MHSFS2KP/).
Now the camera comes up in my windows driver list as a webcam. I have used the free webcam software MyCam to view the Bloggie working as a webcam.
If I use the example code from Processing site for Capture (https://processing.org/reference/libraries/video/Capture.html)
The bloggie turns up in the Available list of cameras. Although, confusingly it turns up as a number of cameras of alternate resolutions. No matter, Capture appears to "see" the bloggie.
However, the cam.available() never returns true suggesting a video frame is never available.
I have tried using various index values into cameras to, pick up alternate instances of the bloggie resolution instances, no no avail. I have tried hard coding resolutions, frame rates, camera names etc. to no avail.
MyCam reports the bloggie at a specific resolution and framerate so assuming that is the default I have made a special point of setting those parameters, to no avail.
Regardless, cam.available() never returns true.
I wrapped the capture calls in try blocks and no exceptions appear to get raised.
If I print the cam pointer it comes up with: processing.video.Capture@2d5e7ba3
So, the Capture instance appears to have been created.
So, there is no exception or other means to "explain" why the camera can be "seen" by Capture.list() but fails to return a frame.
Any ideas please?
Running on windows 7.
Cheers,
A