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