have a look into the oF-root/examples/computer_vision/opencvexample
that may give you a start on doing blob detection with a camera.
you could also look at using kinect and blob tracking -
there is an interesting and easy example video (its in processing but the syntax is very similar) from the most excellent Daniel Shiffman https://www.youtube.com/watch?v=E1eIg54clGo also in the book 'mastering openframeworks https://www.amazon.com/Mastering-openFrameworks-Creative-Coding-Demystified-ebook/dp/B00FDPNZ1S - chapter 10 deals with basic work with depth cameras.
Hi, ofxCv has several examples that will cover what you are asking for. Look at the ones that have either contours or flow in their name, like example-contours-following or example-flow-keypoints
hope this helps.
cheers