Created new end-to-end benchmark that validates detection quality

This commit is contained in:
Matt Hill
2014-06-20 22:27:54 -04:00
parent 7407e1ad8a
commit c5b577b48e
3 changed files with 53 additions and 0 deletions

View File

@@ -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);
}