Download presentation
Presentation is loading. Please wait.
Published byReynold Ray Modified over 9 years ago
3
Human-human interaction Human-object interaction Human-computer interaction
4
Also known as HCI User interface – A place where interaction between humans & machines occurs Types – Command-line interface – Graphical user interface – Natural user interface
5
DosUnix
8
8
10
SCM-CityU 10Spring 2012
18
Four microphone array with hardware-based audio processing – Multichannel echo cancellation (MEC) – Sound position tracking – Other digital signal processing (noise suppression and reduction)
20
Start New Windows Presentation Foundation Project Add a reference to: using Microsoft.Kinect;
26
newSensor.ColorStream.Enable(ColorImageFormat.RgbResolut ion640x480Fps30); newSensor.ColorFrameReady += newSensor_ColorFrameReady;
28
using (ColorImageFrame colorFrame = e.OpenColorImageFrame()) { if (colorFrame != null) { // Copy the pixel data from the image to a temporary array colorFrame.CopyPixelDataTo(this.colorPixels); // Write the pixel data into our bitmap this.colorBitmap.WritePixels( new Int32Rect(0, 0, this.colorBitmap.PixelWidth, this.colorBitmap.PixelHeight), this.colorPixels, this.colorBitmap.PixelWidth * sizeof(int), 0); } imgKinect.Source = colorBitmap;
32
void newSensor_SkeletonFrameReady(object sender, SkeletonFrameReadyEvent Args e) { using (SkeletonFrame skeletonFrameData = e.OpenSkeletonFrame()) { if (skeletonFrameData != null) { skeletonFrameData.CopySkeletonDataTo(allSkeletons); Skeleton first = (from s in allSkeletons where s.TrackingState == SkeletonTrackingState.Tracked select s).FirstOrDefault(); //if(first!=null) //this.Title=(first.Joints[JointType.Head].Position.X.ToString()); } } }
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.