[DEBUG] correct toUpper and toLower
This commit is contained in:
parent
316f42aabe
commit
ecc7bf08f3
@ -71,7 +71,7 @@ dollar::Gesture::Gesture():
|
||||
}
|
||||
|
||||
bool dollar::Gesture::load(const etk::String& _fileName) {
|
||||
etk::String tmpName = etk::tolower(_fileName);
|
||||
etk::String tmpName = etk::toLower(_fileName);
|
||||
if (etk::end_with(tmpName, ".json") == true) {
|
||||
return loadJSON(_fileName);
|
||||
} else if (etk::end_with(tmpName, ".svg") == true) {
|
||||
@ -117,7 +117,7 @@ bool dollar::Gesture::loadSVG(const etk::String& _fileName) {
|
||||
|
||||
|
||||
bool dollar::Gesture::store(const etk::String& _fileName) {
|
||||
etk::String tmpName = etk::tolower(_fileName);
|
||||
etk::String tmpName = etk::toLower(_fileName);
|
||||
if (etk::end_with(tmpName, ".json") == true) {
|
||||
storeJSON(_fileName);
|
||||
return true;
|
||||
|
@ -242,7 +242,7 @@ bool testCorpus(const etk::String& _srcGesture, const etk::String& _srcCorpus) {
|
||||
nbRecognise++;
|
||||
nbRecognise2++;
|
||||
TEST_INFO(" " << res.getName() << " score=" << res.getConfidence());
|
||||
} else if (etk::toupper(res.getName()) == etk::toupper(label)) {
|
||||
} else if (etk::toUpper(res.getName()) == etk::toUpper(label)) {
|
||||
nbRecognise2++;
|
||||
TEST_WARNING(" " << res.getName() << " score=" << res.getConfidence());
|
||||
}else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user