mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 01:12:47 +08:00
Fixes issue #48 Invalid json output
This commit is contained in:
@@ -226,7 +226,7 @@ int main( int argc, const char** argv )
|
|||||||
|
|
||||||
bool plate_found = detectandshow( &alpr, frame, "", outputJson);
|
bool plate_found = detectandshow( &alpr, frame, "", outputJson);
|
||||||
|
|
||||||
if (!plate_found)
|
if (!plate_found && !outputJson)
|
||||||
std::cout << "No license plates found." << std::endl;
|
std::cout << "No license plates found." << std::endl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user