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