Skip to content

Commit

Permalink
Change display options
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumitru Melenteanu committed Jul 8, 2016
1 parent 644865c commit 1916c82
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions RPi2/src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,16 +269,18 @@ void ofApp::draw()
contourFinder.draw();

// Draw result of output
drawMat(output, 0, 0,320,240);

// drawMat(frame,332,250,320.240);
// drawMat(frame,0,0,320,240);
drawMat(frame,0,0,320,240);
drawMat(output,321,0,640,240);
// Draw tracker
vector<Blob>& followers = tracker.getFollowers();
for(int i = 0; i < followers.size(); i++)
{
followers[i].draw();
}

string displayString = "Coming In: " + ofToString(countIn) + " Going Out: " + ofToString(countOut) + " Overall Count: " + ofToString(count);
string displayString = " In: " + ofToString(countIn) + "Out: " + ofToString(countOut) + " Overall Count: " + ofToString(count);
ofDrawBitmapStringHighlight(displayString,5,ofGetHeight()-15);

// Threshold Lines
Expand Down

0 comments on commit 1916c82

Please sign in to comment.