How can i create boundaries in skeletal basic RRS feed

  • Question

  • Hi im not very good in programming and need help in understanding and setting a boundary where by when a tracked skeleton crosses a certain set boundary in the image, the user can be alerted.

    I just need to know how i can set that boundary

    Thanks in advance!!

    Sunday, November 24, 2013 4:59 PM

All replies

  • You will want to review the SkeletonBasics-WPF sample, specifically the RenderClippedEdges function. The Kinect Skeleton data provides a ClippedEdges member property you can check to determine if the skeleton data is clipped by the field of view.

    Carmine Sirignano - MSFT

    Monday, November 25, 2013 7:01 PM
  • Thanks for the reply!

    The thing is i want to rescale the frame edges but not having much knowledge in it. So im trying an alternate way by trying to create a Rectangle instead of using the FrameEdges as shown below.But the word bottom gets underlined as i gues it doesnt work. What is the proper way of doing it?


    Rect myRect1 = new Rect(0,0,320,480);


    The original:

    if (skeleton.ClippedEdges.HasFlag(FrameEdges.Bottom))

    Tuesday, November 26, 2013 4:31 AM