← Back

ofxRotationSensing

github.com/sticknor/ofxRotationSensing · @sticknor
OF 0.9 Computer Vision

Determines rotational velocity of a vector from its position relative to a circle center, useful with optical flow for rotation sensing from video.

0 1 Last commit 10y ago Created 10y ago

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.

CMP-Studio/ofxRotationSensing by @CMP-Studio · ★ 1 · pushed 10y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

patch-1 1 commit ahead · last commit 10y ago

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 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.

Get this addon

HTTPS
SSH