mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 19:42:46 +08:00
Added support for tif/bmp images
This commit is contained in:
@@ -219,6 +219,7 @@ int main( int argc, const char** argv )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (hasEndingInsensitive(filename, ".png") || hasEndingInsensitive(filename, ".jpg") ||
|
else if (hasEndingInsensitive(filename, ".png") || hasEndingInsensitive(filename, ".jpg") ||
|
||||||
|
hasEndingInsensitive(filename, ".tif") || hasEndingInsensitive(filename, ".bmp") ||
|
||||||
hasEndingInsensitive(filename, ".jpeg") || hasEndingInsensitive(filename, ".gif"))
|
hasEndingInsensitive(filename, ".jpeg") || hasEndingInsensitive(filename, ".gif"))
|
||||||
{
|
{
|
||||||
if (fileExists(filename.c_str()))
|
if (fileExists(filename.c_str()))
|
||||||
|
Reference in New Issue
Block a user