cap.open("rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=0");
if (!cap.isOpened()) // if not success, exit program
{
MessageBox(hWnd, TEXT("Camera not connected !"), TEXT("FaceRecFFTW_Class4 -> Message:"), MB_OK);
KAMERA = 1;
break;
}
it works with opencv 3.3.0, in the version 4.1.0 reports "Camera not connected !" ?????????????