open ip camera problem

asked 2019-04-14 08:21:58 -0600

                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 !" ?????????????

edit retag flag offensive close merge delete