mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-08 16:40:12 +08:00
Status information when connecting to stream
This commit is contained in:
@@ -105,11 +105,13 @@ void imageCollectionThread(void* arg)
|
||||
try
|
||||
{
|
||||
cv::VideoCapture cap=cv::VideoCapture();
|
||||
cap.open(dispatcher->mjpeg_url);
|
||||
std::cout << "Connecting..." << std::endl;
|
||||
cap.open(dispatcher->mjpeg_url);
|
||||
|
||||
if (cap.isOpened())
|
||||
{
|
||||
getALPRImages(cap, dispatcher);
|
||||
std::cout << "Connected" << std::endl;
|
||||
getALPRImages(cap, dispatcher);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user