ofxRotationSensing
Introduction
This addon features a class that can determine the rotational velocity of a vector when given it's position relative to the center of a circle. When used in conjunction with optical flow, it can be useful for projects in need of rotation sensing from a live feed or recorded video.
This addon was created by The Innovation Studio as a part of The Light Clock. The example included is a version of the code used for that project.
License
ofxRotationSensing is distributed under the MIT License.
Installation
Download this repo and drop the folder into the openFrameworks/addons/
folder.
Dependencies
ofxGui / ofxOpenCV / ofxOpticalFlowFarneback
Compatibility
Developed and tested in openFrameworks v0.9.3. Tested in v0.9.4. All other versions are untested.