Ask Your Question

vixo7's profile - activity

2013-08-06 20:00:20 -0600 received badge  Student (source)
2013-01-09 15:30:40 -0600 received badge  Editor (source)
2013-01-09 15:17:38 -0600 asked a question Mac, openCV and kinect - has anybody had success?

I can't successfully link openCV the libraries needed for kinect and make it work in my MacBook running Lion. I've tried installing via macports+openni but haven't been successful. In previous attempts I've been able to use openCV with the iSight camera on my MacBook but not being able to get captures from USB web cams. Before I spend more time banging my head against the wall, can somebody tell me there is hope and this can be done and then maybe suggest how to do it? Thanks.

2013-01-09 14:01:05 -0600 commented question Cant open capture object for Kinect

Were you able to solve this problem? I'm running into the same situation. Thanks.

2013-01-06 17:44:16 -0600 asked a question OpenCV on mac not opening USB web cam

I have been unsuccessful using OpenCV's VideoCapture.open(int) to get video capture from a USB web cam in my MacBook Pro running OS 10 Lion. Using open(0) successfully gets capture from the iSight camera. But no luck trying to find the WebCam. (WebCam is a PS2 EyeToy)

The WebCam is installed and works well with Skype, and the macam driver application.

Here is a portion of the code that I'm using:

VideoCapture cap; 
for (int i = 1; i < 1500; i++) {
    if (cap.open(i))
    {
        cout << "Found camera %d\n" << i;
        break;
    }
}
if(!cap.isOpened())  // check if we succeeded
    return -1;

If I initialize i with 0 it immediately finds the iSight camera. If I initialize i with 1, then it finds iSight again when i = 500

Any help is appreciated, Thanks.