VideoCapture.open failed in Windows 10

asked 2015-10-07 08:46:38 -0600

Hi all, I use opencv3.0 release version in windows 10 vs2013 env., but my code cannot open camera succeed in win10, it works fine in win7. here is my code:

m_pCapture->open(0);
if (!m_pCapture->isOpened()) {
    LOGE("RCVideoCapture.startCapture, camera open failed");
    return;
}

m_pCapture->isOpened() is always return false, anybody help me. thanks.

edit retag flag offensive close merge delete

Comments

You will need to add more info. Camera used, complete system configuration, your includes, ... else getting the solution is plain guessing work.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-10-08 06:45:58 -0600 )edit