mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 11:21:39 +08:00
Changes SVT recognition evaluation to be Case Insensitive (according to the standard evaluation protocol). This makes the benchmark obtained mean-f1 score increase from 0.23 to 0.27
This commit is contained in:
@@ -244,6 +244,8 @@ int main(int argc, char *argv[])
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::transform(words[j].begin(), words[j].end(), words[j].begin(), ::toupper);
|
||||||
|
|
||||||
if (find(example->lex.begin(), example->lex.end(), words[j]) == example->lex.end())
|
if (find(example->lex.begin(), example->lex.end(), words[j]) == example->lex.end())
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user