Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9010033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:21:13+00:00 2026-06-16T02:21:13+00:00

What I’m basically trying to do is writing kinect skeleton frame data (joint positions)

  • 0

What I’m basically trying to do is writing kinect skeleton frame data (joint positions) to a file using C# & Kinect SDK (done), then process this data externally (done), then read the data back into my application (done) and draw the data as a light point walker (skeleton joints) frame by frame so I see an animation. (problem)

My Question is: How do I get this 30fps animation drawn using C# (and its DrawingContext class)?

I wanted to use the DrawingContext, because I’m using it for the live output of the SkeletonFrames already while recording. There it is done simply like this, similar to the “Skeleton Basics” SDK Example:

this.sensor.SkeletonFrameReady += this.SensorSkeletonFrameReady;
...

private void SensorSkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e)
    {
        ...

        using (DrawingContext dc = this.drawingGroup.Open())
        {
        ...
           dc.DrawEllipse(drawBrush, null, 2Dpoint, JointThickness, JointThickness);

        }
    }

So the kinect provides me with the frames at approx. 30fps using events and I just draw the data.

But how do I draw it when there is no kinect but the data is read from file/memory? (Currently using a 2DArray [Frame, Joint])

I thought about having a thread running at 30fps (using sleep to achieve the framerate) which then sends a similar event or draws directly.. However my attempts to get this working failed completely. For instance didn’t I get the event sent to the main thread for drawing.

The problem might be my lack of understanding C# (I’m totally new to it)…

Any hints on how I could get this set up and working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:21:14+00:00Added an answer on June 16, 2026 at 2:21 am

    The Kinect Toolbox already provides a way to save and replay stream data (any one of the three). It may fill the hole for what you need.

    If you choose to roll your own, you will want to save a zero-based timestamp with each skeleton saved to the file. Then when you wish to replay it you can use a DispatcherTimer or Timer to count from zero to whenever — when you the timer hits the proper timestamp value for the next skeleton, display it.

    As you point out, the Kinect will give you approx. 30 fps. You do not want to assume that it is running at a full 30 fps. Use a timestamp in order to play it back when it should (be it 30 fps, or 15 fps)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I want to construct a data frame in an Rcpp function, but when I
Let's say I'm outputting a post title and in our database, it's Hello Y’all
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am using jsonparser to parse data and images obtained from json response. When

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.