Skip to content

Commit

Permalink
Bug fix: highest point was not normalized in OSC messages
Browse files Browse the repository at this point in the history
  • Loading branch information
robotconscience committed Feb 17, 2013
1 parent 8494fdb commit c5a2e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/ofxTSPS/libs/ofxTSPS/src/Person.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ namespace ofxTSPS {
m.addFloatArg(boundingRect.height);

if(!bUseLegacy){
m.addFloatArg(highest.x);
m.addFloatArg(highest.y);
m.addFloatArg(highest.x / cameraWidth );
m.addFloatArg(highest.y / cameraHeight );
}

ofRectangle haarRect = getHaarRectNormalized(cameraWidth,cameraHeight);
Expand Down

0 comments on commit c5a2e19

Please sign in to comment.