mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 21:02:45 +08:00
Created new end-to-end benchmark that validates detection quality
This commit is contained in:
@@ -101,3 +101,9 @@ bool stringCompare( const std::string &left, const std::string &right )
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string filenameWithoutExtension(std::string filename)
|
||||
{
|
||||
int lastindex = filename.find_last_of(".");
|
||||
return filename.substr(0, lastindex);
|
||||
}
|
Reference in New Issue
Block a user