Moved output messages to log handler

This commit is contained in:
Matt Hill
2014-10-22 21:14:06 -04:00
parent 1e37f97888
commit 752e9acc6f

View File

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