Saturn Kinect - Motion Manager and more

Today's project by Keyvan Saturn is still in an Alpha state, but even so it looks very promising...

Saturn Kinect

Library contains classes for managing Kinect skeleton frames and detect the joint movements and detect motions by comparing skeleton motions that it can used in kinect-based games for detecting motions like Punch,Kicking,Running and etc.

Features
- Use custom Minimum Similarity Percent and Maximum Errors.
- Set delay for Skeleton Capture.
- Classes for detecting motions and comparing it with other motions.
- Classes for moving mouse cursor with hand movements.

Project Information URL: http://saturnkinect.codeplex.com/

Project Download URL: http://saturnkinect.codeplex.com/releases/

Project Source URL: http://saturnkinect.codeplex.com/releases/

image

image

Implementing Motion Manager:

using System;
using System.Collections.Generic;
using Microsoft.Kinect;
using SaturnKinect.Base;
using SaturnKinect.Interaction.Base;
using SaturnKinect.Interaction.Motion;
class Program
{
    static void Main(string[] args)
    {
        List<SkeletonMotion> SavedMotions=new List<SkeletonMotion>(); // The Saved Motions
        KinectSensor kinectSensor = KinectSensor.KinectSensors[0];
        KinectManager kinectManager = new KinectManager();
        kinectManager.StartSensor(kinectSensor);
        SkeletonChangeManager skeletonChangeManager = new SkeletonChangeManager(
            kinectManager
            , 0.2f /* Detect 20 Cm joint changes */
            );
        MotionManager motionManager = new MotionManager(
            skeletonChangeManager,
            SavedMotions,
            60 /* Minimum motion similarity as percent */,
            0.1f /* Maximum Joint Change Similarity Error */,
            60 /* Minimum skeleton change similarity as percent */,
            3 /* Skeleton Change Buffer */
            );
        motionManager.MotionDetected+=
            new MotionManager.MotionDetectedEventHandler(motionManager_MotionDetected);
    }
    static void motionManager_MotionDetected(SkeletonMotion motion)
    {
        Console.WriteLine("Motion {0} Detected !", motion.Name);
    }
}

Tags:

Follow the Discussion

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.