I have a Qstring ORBString = "nFeatures=2000, scaleFactor=1.2, nLevels=8, EdgeThreshold=31, Firstlevel=0, WTA_K=2, ScoreType=0 , PatchSize=31";
Then I use QstringList ORBLists = ORBString.split(",", QString::SkipEmptyParts);
bool ok;
int nFeatures = ORBLists.at(0).toInt(&ok,10); // it gives only 0 not 2000
Bookmarks