Determines rotational velocity of a vector from its position relative to a circle center, useful with optical flow for rotation sensing from video.
Forks
Forks pushed to more recently than sticknor/ofxRotationSensing itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
Branches ahead of master
These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.
README
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.
If you are curious about the math behind this addon, or would like to see a clip of the example project in action, check out this blog post.
License
ofxRotationSensing is distributed under the MIT License.Installation
Download this repo and drop the folder into theopenFrameworks/addons/ folder.
ofxAddons