Case insensitive file match for alpr (matches .jpg and .JPEG)

This commit is contained in:
Matt Hill
2014-05-19 22:51:15 -05:00
parent 765a41685d
commit efe79db062
3 changed files with 20 additions and 4 deletions

View File

@@ -19,6 +19,8 @@
bool startsWith(std::string const &fullString, std::string const &prefix);
bool hasEnding (std::string const &fullString, std::string const &ending);
bool hasEndingInsensitive(const std::string& fullString, const std::string& ending);
bool DirectoryExists( const char* pzPath );
bool fileExists( const char* pzPath );
std::vector<std::string> getFilesInDir(const char* dirPath);