void ofxTSPSTCPSender::personUpdated ( ofxTSPSPerson * p, ofPoint centroid, int cameraWidth, int cameraHeight, bool bSendContours ){ stringstream message; message<<"TSPS/personUpdated/"<<";"; message<<getPersonString(p,centroid,cameraWidth,cameraHeight,bSendContours ); message<<"\\"; currentString += message.str(); };
std::string outputProperty(const std::string& p) { if(p == "ENGLISH") return "English Infinitive"; if(p == "INFINITIVE") return "Infinitive"; if(p == "PASTPARTICIPLE") return "Past participle"; return getTimeString(p) + " " + getPersonString(p); }