How to distinct real Kinect sensor and .xef playback source

Hi there, 
I’m making an application which compare a live motion(f.e. body frame) captured by the Kinect sensor and a playback xef file recorded by KStudio, I
wanted that they display in two different canvas, but my difficulty is that how to know the frames come from the sensor or the xef file, now all frames display on all the canvas simultaneously.
Thanks in advance for your help.
Haishan

hi jmmroldan,
Thanks for your reply and ideas.
The StartRelativeTime is readonly, so I can't put personal information in it.
Actually, my application is a dance comparaison, uses can learn and imitate from a pre recorded video(color and body frame).
The scenario is quite simple
 - Record the "teacher" 's frames to xef file by using the KStudio of Microsoft.Kinect.Tools.
 - Play this xef file in a litte windows
 - Display the live captured data in the main windows.
for this, I create two FrameReader to listen the FrameArrived event.
I noticed that inside the KStudioPlayback or KStudioRecording class, there is a method called "GetMetadataForStream", but I don't know how to create then use it, and I'm not sure I can retrieve it from
the captured data by Kinect Runtime.

Similar Messages

  • How will i link flowmeter sensor and labview

    Hello everyone,
    I am new in this forum and alson in labview.I have a flowmeter sensor, I made cable connections bewteen the sensor and DAQ(NI-USB 6229) The question is what am i supposed to do to read the data on sensor.I just want to measure read the flowmeter sensor and dont know how to construct the labview diagram.I searched on net and learned that I have to do something with counters to convert square signal to a grapgh.and also I searched some codes about it but there must be an easy way to do this it ooks too complicated.In attachment I am sending the vi file.
    Can you please help me because I have limited time..
    Thanks in advance.
    Attachments:
    seyfi.vi ‏62 KB

    Why did you attach a VI that writes out an analog output rather than a VI that actually reads in a signal?
    What type of signal is the flowmeter putting out?
    Did you look in LabVIEW help?  There are dozens of examples there for reading different signals using DAQmx.

  • How to use real-time tracking and filing in EchoSign

    Click the link to learn how to use the notification, tracking, and filing features available in the Adobe electronic signatures service, EchoSign.

    Hi,
    You can observe the data for executables with the RTSM. Just be sure to
    first go to the Tolls>>RT Taget [x.x.x.x] Options and configure
    the VI Server to use TCP. Then add your desktop machine to the Access
    List on the TCP/IP Access tab. Now VI server should be able to export
    the info. about the executable.
    Richard
    Applications Engineer
    http://www.ni.com
    Richard
    Field Sales Engineer, New Jersey
    National Instruments

  • How to Create a database copy and specify the source database.

    Hello,
    In my dag environment I would like to create a new database copy and specify the source. My company has database copies in 2 locations. Instead of transferring the data from one location to the other, I would like to specify the source be the copy that is
    in the same location.
    Thank you,
    ~Mark

    Hi,
    We can create a mailbox database, then run EMC and EMS to create a database copy.
    More details about Add a Mailbox Database Copy, for your reference:
    https://technet.microsoft.com/en-us/library/dd298080(v=exchg.141).aspx
    Note: please pay attention to Prerequisites section, for example: 
    1. The specified Mailbox server must not already host a copy of the specified mailbox database.
    2. The server hosting the specified database and the server that will host the database copy must both be in the same database availability group (DAG). The DAG must also have quorum and be healthy.
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Allen Wang
    TechNet Community Support

  • How to Show Real CPU load, and not just Average Load on Server Performance or CPU metrics

    Hi There,
    we are currently using application insights for one of our customers, and they have raised the question with me, regarding CPU spikes. Is there anyway to show these when viewing the server performance or within the CPU metrics?
    The reason for the question is that for our particular application the average CPU load is 4%, however when viewing task manager real time, I can see spikes go anywhere from 20-60% for a second or two.
    Also do you know if the ability to grant user access to the likes of our customers so they can see the results so I don't have to send screen shots etc. on request.
    Any help on this would be greatly appreciated.
    Best Regards
    Antony

    Here is a good blog that shows how can you see CPU metric with Application Insights.
    http://blogs.msdn.com/b/visualstudioalm/archive/2014/12/11/updated-application-insights-status-monitor-to-support-12-and-later-application-insights-sdk.aspx
    And here is the explanation how to give access to other users:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/8025b455-5505-4037-beb1-6e216100aa9f/give-another-user-to-view-my-application-insights-data?forum=ApplicationInsights
    Mihail Smacinih

  • I just started using fire fox and I cant figure out how to add a new folder to my bookmarks. Can anybody explain how in detail (I'm bad with computers so I need real detail) Please and thank you. :)

    I just started using fire fox and I can't figure out how to add a new folder to my bookmarks.
    Can anybody explain how in detail (I'm bad with computers so I need real detail)
    Please and thank you. :)

    If you use extensions (Tools > Add-ons > Extensions) like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    You can use one of these to start Firefox in <u>Safe mode</u>:
    *On Windows, hold down the Shift key while starting Firefox with a double-click on the Firefox desktop shortcut
    *On Mac, hold down the Options key while starting Firefox
    *Help > Restart with Add-ons Disabled
    If it works in Firefox Safe-mode then disable all extensions (Tools > Add-ons > Extensions) and then try to find which is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can find the difference  between iphone 5 Real Genuine adapter and fake adapter

    Can anyone please tell me, How Can Find Difference between iphone 5 Real Genuine adapter and fake adapter....

    That's about the only way. Many of the fakes are indistinguishable from genuine without taking them apart. See: https://www.youtube.com/watch?v=wi-b9k-0KfE Note that BOTH of the adapters in this video are fake. Yet the one on the left looks identical to the "real thing".

  • The gyroscope of my IPAD2  stopped working either with Real Racing 2HD and SAFARI, how do I proceed?

    The gyroscope of my Ipad 2 suddenly stopped working ( either with Real Racing 2HD and Safari ). How do I proceed to fix it.
    Thanks

    If you want to sync content that is on your iPod Classic to your iPad, it needs to be in your iTunes library first, if it isn't already.  From there, you can configure your iPad to sync all this content from under the appropriate tabs.
    If you need help on how to copy content from the iPod Classic back to your PC, see this older post from another forum member Zevoneer covering the different methods and software available to assist you with this task.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • I have an optical sensor and two hall effect how can I data log?

    I have built a test rig which consists of a gyroscope.  The gyro is spun up by and electric motor.
    I need to measure the speed of rotation.  I’m using an optical sensor and two Hall
    Effect sensors.  I would like to record the
    output of these and I would like to build in some redundancy because there will
    be another bigger rig that will require more measurement.  E.g. vibration.
    I’m new to data logging so I’m not sure which hardware I
    should be getting.
    Thanks

    analog inputs are the most universal.  with software such as the functions included in the Sound and Vibration Measurement Suite, you can analyze the analog input channel which is connected to your hall effect and optical sensors for frequency and speed.  Vibration specific input cards will power accelerometers.  with the speed and angular position sensors (hall effect and optical) you can combine this information with your vibration sensors to determine the movement of the device with respect to position and speed.  These order analysis functions are part of the Sound and Vibration Measurement Suite. 
    What is more is that the Suite includes an assistant.  The assistant allows for the capture and datalogging of all analog and digital inputs as well as frequency and vibration analysis.  This is all configurable and does not require any LabVIEW programming.  If you decide you want LabVIEW programming, all the functions are there to support LabVIEW as well. 
    Here is the link:
    http://www.ni.com/soundandvibration/
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • Find angle between two kinect sensors

    hi,
    Consider a person is standing in front of kinect sensor A and to the side of the person another kinect sensor B is placed (i.e exactly 90 degree).How to find programmatically that the sensor B is located 90 degree to sensor A?
    Any help is greatly appreciated
    Thanks

    Use LIBICP to get a correspondence between the point clouds from the depth maps, or from body positions.
    Iterative Closest Point

  • Kinect sensor "isOpen" but not "isAvailable"

    Hey there, I'm new to Kinect programming, and right now I'm trying to write a real simple Kinect app in C# to initialize a sensor and write the hair color of a target person to the console. So I've initialized my sensor my calling GetDefault() and Open(),
    which according to the definition in the API, should mean that the sensor is also Available to receive frames. But, it's returning '0' for my hair color, and calling "isOpen" and "isAvailable" has revealed that, while my sensor is indeed
    open, it is not available to receive frames, and isn't actually gathering data when asked to. Any suggestions about why this might be?

    Hi Steve,
    For an hair color sample see this
    article on Skin and Hair color.
    To get frames of data, you have to setup event handlers to listen for specific frame arrived events. At which point you can retrieve the data you're looking for.
    Sr. Enterprise Architect | Trainer | Consultant | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer |blog: http://dgoins.wordpress.com

  • How to get real value from selectOneChoice with javascript?

    Hi,
    How to get real value from selectOneChoice with javascript? The event.getNewValue() only gets me the index of the selected item, not the value/title.
    JSF page:
    <af:resource type="javascript">
    function parseAddress(event)
    alert("new value: " + event.getNewValue());
    </af:resource>
    <af:selectOneChoice label="Location:" value="" id="soc4">
    <af:clientListener type="valueChange" method="parseAddress" />
    <f:selectItems value="#{Person.locations}" id="si7"/>
    </af:selectOneChoice>
    HTML :
    <option title="225 Broadway, New York, NY-10007" selected="" value="0">225 Broadway (Central Office)</option>
    <option title="90 Mark St., New York, NY-10007" value="1">90 Mark St. (Central Office)</option>
    Thanks a lot.

    Something I was missing ,
    You need to add valuePassThru="true" in your <af:selectOneChoice component. I have personally tested it and got the actual value in alert box. I hope this time you got the real solution. You can also test the following code by your end.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelBox text="PanelBox1" id="pb1">
    <af:selectOneChoice label="Set Log Level" id="soc1"
    value="#{SelectManagedBean.loggerDefault}"
    valuePassThru="true">
    <af:selectItem label="select one" value="First" id="s6"/>
    <af:selectItem label="select two" value="Second" id="s56"/>
    <af:clientListener method="setLogLevel" type="valueChange"/>
    </af:selectOneChoice>
    <af:resource type="javascript">
    function setLogLevel(evt) {
    var selectOneChoice = evt.getSource();
    var logLevel = selectOneChoice.getSubmittedValue();
    // var logLevelObject = AdfLogger.NONE;
    alert("new value is : " + logLevel);
    //alert(evt.getSelection);
    //alert(logLevelObject);
    evt.cancel();
    </af:resource>
    </af:panelBox>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • How do I transfer my music and apps from my ipod touch 4g to a new computer?

    The hard drive on my old computer failed so I no longer have access to my itunes library that was saved onto that computer. Is there anyway I can transfer my music and apps to my new computer? I would prefer not using one of those shady online tools... I don't want to lose any of my music or apps since I have some paid ones on there. I'm afraid that if I connect it to the new computer then everything will be lost. If that happens the I'll never be able to get any of my music and apps back (or at least it'll be real difficult). Can anyone please please please help me?
    How do I transfer my music and apps from my ipod touch 4g to a new computer?

    - Transfer iTunes purchases to the computer:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    - Transfer other music by using a third-party program like discusssed here:
    new PC: Apple Support Communities
    - Try to make a backup of the iPod by right clicking on the iPod under Devices in iTunes and select Backup
    - Restore the iPod from backup and sync as necessary.

  • I have an old ipod and want to know how to get everything off it and into my iTunes library.  My old computer died and the original library was lost, so don't have any of the content saved anywhere else.

    I have an old ipod (it's the very thin oblong one in purple, the one before the one that does video) and want to know how to get everything off it and into my iTunes library.  My old computer died and the original library was lost, so don't have any of the content saved anywhere else.  I now have an iPhone 5S and listen to music on that, so want to be able to listen to things from the old ipod too.
    Can anyone help please?
    Thanks very much
    Jane

    Apple normally does not get involved in handling lost objects like this.  Since a real name is not installed it will be much more difficult.
    You can try contacting Apple support at the US number, assume you are US going to BWI from the listing: http://support.apple.com/kb/HE57 and explain the situation and see if they offer any suggestions.

  • I have a macbook pro and I connected a new iphone to my computer. Somehow all my pictures in the iphoto app deleted. How can I get them back, and no I do not have my TimeMachine On. Please help!

    I have a macbook pro and I connected a new iphone to my computer. Somehow all my pictures in the iphoto app deleted. How can I get them back, and no I do not have my TimeMachine On. Please help!

    If you are running Lion then all drivers are distributed through Software Update. You do not need to install anything, other than to install the printer in System Preferences > Print & Scan. If you already added the printer while it was connected using USB, you might want to delete it and set it up again wirelessly to avoid confusion. Or, give them two distinct names e.g. "Photosmart D110 (USB)" and "Photosmart D110 (wireless)".
    All scanning functions are now performed using Preview, but you can also access the scanner through the same Print & Scan preference pane, or with Image Capture.
    This HP document may help explain how driver software is distributed now:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03079365&cc=us&dlc=en&lc=en &product=4144493&tmp_track_link=ot_search#N108

Maybe you are looking for