MotionMan Code Request (from Video 7 of Programming Kinect for Windows v2 video series)
Casey Meekhof: thank you for the great presentation from Video 7 of the Programming for Kinect video series
that was published back in July. I was wonder if there was anyway that you could post the code you wrote for the MotionMan program you presented in the video. I am a fairly novice programmer and was attempting to replicate some of the noise/background
reduction and pixel filtering but am unable to do so with any sort of sophisticated coding (mine seems to eat up much more memory with rather poor results).
I am hoping that this question reaches you as I noticed someone else ask a question in a similar manner
and you ended up responding through their thread.
Thank you in advance.
Thanks for the reply Carmine. That is unfortunate that the code isn't available but perhaps you (or anyone else) can guide me in a right direction. First, let me explain what I'm trying to do:
Essentially, I want to be able to detect motion from some initial frame capture for a body that is supposed to be stationary. My current setup involves a simple button which takes in the first 10 depth frames and averages them together to create a
"mask" which will then be referenced during the motion tracking. Then, the display will show (over the color image of the mask) where motion has occurred by changing pixels to some color.
The program I have written is pretty novice and I don't believe it does buffering in the way that you describe (perhaps you can elaborate further on that for me as I'm unsure how to incorporate that). For cleaning up the image, I have simple "for"
loops that take out any 0 depth pixels and replaces them with the average of pixels around it. Additionally, I'm trying to remove any "jumpy" pixels (as described in the video) by making comparisons of that pixel location in frames before and after
it and replacing the nonsensical depth pixel with an average of the other two.
For the comparison of the mask to the live feed, I'm simply creating 5 arrays (1 for each of 5 sequential frames), averaging them, and then comparing them to the mask. I then move the data in each array to the next one down the line and bring in the
newest frame to the array set and repeat.
These processes seem a bit rudimentary to me but I do not know a lot of advanced programming especially when it comes to the Kinect and C#. Any advice you could give would be appreciated as my current methods are not producing accurate results.
Similar Messages
-
Install App codes purchase from Apple vol purch program using config utility
Greetings,
How do I install the apps I purchased from the Apple Volume purchase program using the configuration utility.
I have the spreadsheet of codes and would like to install them the same time I push the profile to the iPad.
thanks.To my understanding, only developers who sign up and pay Apple a fee of I think it was 300 (more info can be found by reviewing SDK release data from Apple)can use live iPhones for debugging...if you don't pay them to be a developer you only have acces to the emulator for debugging...
-
Sending SOAP request from XI and writing a scheduler for this
Dear XI Experts,
My scenario is as follows.
We have two landscapes
1) XI, R/3
2) Client System(Remote, Other than SAP)
Now we have to pull the data from client system using WSDL (There will be one method for pulling the data in the WSDL file). The WSDL is provided by the client. We are importing that WSDL as external definition in Integration Repository and implementing the scenario SOAP to XI to RFC and configuring it Integration Directory.
Remember the client will not send the data to XI. Only we have to pull the data as mentioned above.
Problems:-
(i) How to send SOAP request to the client using XI only?
(ii) How to write a scheduler for this?
please help us.
Thanks...
Praveen GujjetiUr Suggestion
"My proposition looks like that. in R/3 you have scheduled RFC call in some program. This RFC calls XI and XI is calling using SOAP adapter your client. Then response go back to your RFC and you can handle this data."
As you mentioned, I am not scheduling any RFC call in R/3. If you go through my first query u can find two points where I am having some doubts......
How to send SOAP request to the client using XI only? Is it possible to send a SOAP request from XI?
If so,
(ii) How to write a scheduler for this? So that it will invoke the webservice and get the data from client application(system) -
Video Podcasts Not Syncing From my iPad Mini to iTunes for Windows
Hello all. I have the iPad Mini, and recently have been downloading my Podcasts there.
It occurred to me that in case something happens to my iPad, I should have my Podcasts backed up to my computer. So, i downloaded iTunes for Windows on my computer. I plugged my iPad Mini into my computer and synced it, so that my Podcasts would sync from my iPad Mini to my iTunes Library.
I noticed that all of my podcasts did sync, except for the 3 video podcasts I have. None of the video podcasts synced.
Anyone know how I can get my video podcasts to sync from my iPad Mini to my iTunes Library?
Thank you in advance!Just wanted to kick my question back up. to see if anyone had any idea how to get my video podcasts to sync from my iPad Mini to iTunes on my computer.
Audio podcasts seem to be syncing fine. Just the video podcasts are not.
Thanks. -
Coming Soon from Apple an Update to Safari for Windows ...
... with a lot of missing features:
Read at
http://www.apple.com/safari/download/
Coming Soon
Support for International users
International text input methods
Advanced text (contextual forms, international scripts)
Localized menus and help
NTLM support
PAC file auto-detection
FTP directory listings
Link to proxy settings from Safari (Safari respects the proxy settings in the Windows Internet control panel)
Cookie management
LiveConnect support
Tooltips
Spell checking
Printing page numbers, titles, margins
(...)Yes, the question was not directed at you, even if I might have appreciated if you had made something up, just to make me happy.
The question was more directed at Apple, who have not been brilliant with the communication regarding Safari for Windows. Example: For several days they proudly presented Safari for Windows on the main page of their Japanese web site, even though one of the most glaring limitations was that the first betas would not work in Japanese - at all.
In contrast to many people in this forum, I do not mind that there are serious limitations and bugs in the beta. However, I am disappointed that Apple does not list the problems up front. -
Programs are for windows help?
returned to school and the program I have to use are for windows I hear about bootcamp but not sure. need help?
To begin with, see if it'll work properly in the CrossOver Mac trial.
If it does, buy the full version of it. If not, you'll basically need to use Windows; Boot Camp is itself free, but can't be used to run both OSes at once. VirtualBox is a free emulator which can; Parallels Desktop has more features but is a commercial product.
Wine can be complicated to set up.
(124944) -
Extracting video metadata from .mov files using QuickTime SDK for Windows
I'm trying to create a service which will process .mov files and extract some statistical information from it, such as length, bitrate, video height / width , and if it's possible info about audio, such as audio levels number of channels etc.
I've downloaded a sample application which came with SDK and it uses a visual control (Asp.net) to load file url into and then extracts a Movie object which has most of the info I need.
problem:
I don't have ability to load a visual control as my program is a service application. Can someone tell me how it's possible to load movie object without using visual control and fetch all the metadata I need.
Thanks
shorkunQT does not export sound from muxed mpeg files: QT Mpeg Limitations. This freeware should do the trick: Mpeg StreamClip
If the mpegs in question are mpeg-2 you will need to buy the mpeg2playbackcomponent from Apple ($20 US). Note that these programs will not work with encrypted Hollywood movies. -
Programming with Kinect for Windows V2
I am a PhD student using Kinect V2 for data collection and I am actually new to it. I will like help with a code in C#, which measures body joints and calculates the joint angles during skeletal tracking. Please I urgently need help on this.
Thanks.
Hello Chy1234,
the demos provided by the SDK browser are a good start. Fire up the browser and filter for C# demos. Take a look at the
BodyBasics example. There you can see how you read bodies. In the kinect context, a body has
25 Joints. These joints have a X,Y,Z coordinate. You will need these information for your calculation. Also consider watching some
Jump Start videos as start.
What exactly do you mean with "measures body joints"?
Best regards,
Alex -
Transfering DV format files from Apple to Adobe Premiere pro for windows XP
I have been asked to move files from my iMac computer to Adobie Premiere pro.
Is there a simple way to do this? Can I import the raw format (DV) directly into Premiere Pro? HelpThanks for the input, ... I prefer to stay in the Mac world thiough.
sure, we all do (who wants to join a Boot Camp?)..
don't hesitate to make use of the forum's marker features...! -
A program designed for windows will not install
I have been trying install the latest version of the Roche Accu-Chek Compass software on my new MacBook with Leopard, Bootcamp and the latest updated version of Windows XP all installed. The installation disk is OK (It installs on another PC OK. Accu-Chek support have been unable to help so far. I wonder if anyone else has had similar problems or can make any suggestions? The install wizard appears to start OK but then stops and a pop-up headed Install Error detected appears, saying "Install encountered an unexpected error please try again"
Any advice would be much appreciated.I have found a solution! Download and install VM Fusions then install Accu-Chek Compass - it then works like a dream. In fact I am delighted with VM Fusions it seems work in the way I had hoped that Bootcamp would. I have obtained the 30 day trial version from
http://www.vmware.com/products/fusion/
Hope this helps. ( I have no connection with VM Ware other than as a potential customer) -
GRNDS it's an external application from Accenture that has additional classes to J2EE Platform.I want to integrate it on iAS6.0 SP3 to be used by our application. I'm trying to deploy the Contact Manager sample that cames with GRNDS but I'can't make it work, since when I deploy the war file the error "The following entries are incorrectly packaged or
have external dependencies." appear.This sample has all the almost the jars used by GRNDS, including jars existing in iAS. I think the problems are one t5he descriptors that are not well generated by iAS.Other approach would be the fact that since those classes, jars and wars are external, when they are deployed they create a different structure in iAS6. That application was tested and worked on Weblogic and JBoss, so it has to work on iAS.Hi Cruz
what is the structure and contents of the package. What exact errors are you getting when you try deploying the application at deployment time.
How was the initial packaging done, was is with GRNDS or was the packaging done manually. Basically I would like to know hoe were the descriptors generated, was it by iAS or GRNDS.
Please let me know the details
Cheers
-pradeep -
im requesting adobe. plzz do it somehow
@Chris: That's odd. I too installed Windows 8 Pro x64 since launch and have been receiving/installing all windows updates including "Patch Tuesday" of every month. In fact I just checked my update history and they all show success -- none failed. Can you find any specific KB # of any update that Microsoft had issued which included updates to Flash? Also, I just checked with a friend and they too have the factory-shipped version of Flash still installed while being fully-updated.
I do see the following installed as well however the actual Flash player version was still the old one: -
How do you delete 'GarageBand Documents' from iPad2 GarageBand App in iTunes for Windows?
Using the GarageBand Application, I have shared my songs/files between my pc and my iPad and now I want to remove them from the 'GarageBand Documents' list in iTunes but I can not figure out how to do so. Any advice would be greatly appreciated, thanks!!
Hmm, this looks like a bit of a generic problem with the way iTunes manages supplementary files for apps. As far as I can tell you can drag pretty much anything into an app's private storage space from iTunes, and you can save stuff from it, but to delete you have to use the app. If you've dragged in something the app won't display then you can't find it to delete it.
If you've saved everything you want somewhere safe then temorarily removing the GarageBand app from your iPad ought to fix it.
tt2 -
I have a public work calendar that I wish to share with colleagues in the office. No issues for those having a Mac or an iPhone, but how can I share the calendar with Outlook for Windows users?
Thanks for the help!Hello ramirofromstrockholm,
The steps detailed below explain how to go about publicly share a calendar (which doesn't require that one be an iCloud user to accept).
Click the Share button to the right of the calendar you want to share, then select Public Calendar.
Note: You can also share the same calendar privately. For instructions, see the previous task, “Share a calendar privately.”
To invite people to view the calendar, click Email Link.
Type one or more email addresses in the To field, then click Send.
The people you specify automatically receive an invitation email that includes the calendar’s URL. An invitee doesn’t need to be an iCloud user to accept an invitation to view a shared public calendar.
In the sidebar, a shared calendar has a dark Share button.
You can also resend invitations to one or more invited participants at any time.
iCloud: Share a calendar with others
http://support.apple.com/kb/PH2690
Regards,
Allen -
I have Photoshop CS6 Extended windows version. Is there an update to allow me to also use it on my Mac laptop?
The disc you used would have been the install disc that came with your Mac. These can only be used on that as they are made for that specific model.
Make sure your machine meets requirements
Macs with an Intel Core 2 Duo, Intel Core i3, Intel Core i5, Intel Core i7, or Xeon processor.)
At least 2GB of RAM
Mac OS X 10.6.6 or later (Mac OS X 10.6.8 is recommended)
7 GB of free hard drive space is recommended
Once you've purchased it would be a good idea to create a bootable DVD or USB
http://www.macworld.com/article/161069/2011/07/make_a_bootable_lion_installer.ht ml
But you can also go into the purchased section and download again
Maybe you are looking for
-
Can't sync iPhone to my mac. Strange error message.
I just tried to sync my iPhone to my mac, and got the following error message: "iTunes could not sync contacts to the iPhone "MyiPhone" because the iPhone disconnected." First of all... my iPhone did not disconnect, I am looking at it under "devices"
-
I try to connect my macbook pro to plasma tv samsung with hdmi cable,and i see desk computer on screen tv . When i start iphoto ,the TV screen become black and i cannot see the pictures.Can you help me? Tank you Paul-R.Boucher
-
PHP, MySQL, Apache and MAMP
Could someone tell me if there will be any problem if I first downloaded PHP then MySQL and after I enabled all these things I installed MAMP? Is it possible to delete all those things that I have donloaded before MAMP? If so, then how to do it?
-
Error creating policy with context
When I try to create a policy: BEGIN ctx_ddl.create_policy('sdoscan.ec_prd_prditmname','sdoscan.ec_prd_summ.prditmname','','','','','','','','','','CTXSYS.DEFAULT_STOPLIST',''); COMMIT; END; I get this error: ORA-20000: ConText error: DRG-10503: Unkn
-
MacBook Pro Retina 15" Auto Power Off
Hi, I have "auto power off" issue with my newly bought MacBook Pro Retina 15". This problem is very annoying, my MacBook Pro just auto power off, where I check the battery is 100% fully charged. The first encountered was about a month ago, the night