An application that detects luminous points from camera images and sends their positions via OSC
Please download the latest version from releases.
- Run LuminousOSC. Then webcam is opened, detection and sending are started.
- Set the maximum number of points you wish to send in GUI.
- Adjust threshold for binarization. To successfully extract luminous blobs, it is important to adjust the exposure in the camera settings.
- Adjust max area and min area for detecting luminous points.
- Adjust matching distance for good tracking.
- In your application, receive the OSC message that contains the position and ID number of the detected points.
Video file also can be used as input. Select "Load Video File" in the GUI. On Windows, to support QuickTime video files or files like MP4 video you will need to install the video codecs onto your machine. K-Lite Codec Pack is recommended.
LuminousOSC sends position and ID number of luminous point via OSC.
- Address Pattern: /points
- This is default. You can change on GUI.
- Data (int values): x0, y0, id0, x1, y1, id1, x2, y2, id2 ... xn, yn, idn
P5_receiver_demo is very simple example written in Processing.
Just receive OSC message and draw the points. It requires oscP5 library.
LuminousOSC-v100-demo.mp4
openFrameworks (v0.11.2), addons : ofxCv, ofxGui, ofxOpenCV, ofxOsc, ofxXmlSettings