Ask Your Question

Revision history [back]

VideoCapture.open failed in Windows 10

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.