Status information when connecting to stream

This commit is contained in:
Kees-V
2014-10-22 14:23:50 +02:00
parent 1c20855f29
commit eebc707f2b

View File

@@ -105,11 +105,13 @@ void imageCollectionThread(void* arg)
try try
{ {
cv::VideoCapture cap=cv::VideoCapture(); cv::VideoCapture cap=cv::VideoCapture();
cap.open(dispatcher->mjpeg_url); std::cout << "Connecting..." << std::endl;
cap.open(dispatcher->mjpeg_url);
if (cap.isOpened()) if (cap.isOpened())
{ {
getALPRImages(cap, dispatcher); std::cout << "Connected" << std::endl;
getALPRImages(cap, dispatcher);
} }
else else
{ {