64,654
社区成员
发帖
与我相关
我的任务
分享
ModeThread.cpp
void ModeThread::loadinThread()
{
std::ifstream fload("gesture_type.gtp");
int numLine;
fload>>numLine;
for (int i = 0;i<numLine;i++)
{
std::string str;
int num;
fload>>str>>num;
gstVector.push_back(GestVector(QString(QString::fromLocal8Bit(str.c_str())),num));
}
((DgSVM *)pSvm)->load();
}