├── 9781430241041.jpg
├── LICENSE.txt
├── README.md
├── Src
├── Chapter2
│ ├── ApplicationFundamentals
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ApplicationFundamentals.csproj
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── app.config
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ ├── BeginningKinect.Chapter2.ApplicationFundamentals.exe.config
│ │ │ │ ├── BeginningKinect.Chapter2.ApplicationFundamentals.vshost.exe
│ │ │ │ ├── BeginningKinect.Chapter2.ApplicationFundamentals.vshost.exe.config
│ │ │ │ └── BeginningKinect.Chapter2.ApplicationFundamentals.vshost.exe.manifest
│ │ └── obj
│ │ │ └── x86
│ │ │ └── Debug
│ │ │ ├── App.g.i.cs
│ │ │ ├── ApplicationFundamentals.csproj.FileListAbsolute.txt
│ │ │ ├── BeginningKinect.Chapter2.ApplicationFundamentals_MarkupCompile.i.cache
│ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ └── MainWindow.g.i.cs
│ ├── Chapter2.sln
│ ├── Chapter2.suo
│ ├── Polling
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Polling.csproj
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ └── obj
│ │ │ └── x86
│ │ │ └── Debug
│ │ │ ├── App.g.i.cs
│ │ │ ├── BeginningKinect.Chapter2.Polling_MarkupCompile.i.cache
│ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ └── MainWindow.g.i.cs
│ └── ThreadPolling
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ ├── ThreadPolling.csproj
│ │ └── obj
│ │ └── x86
│ │ └── Debug
│ │ ├── App.g.i.cs
│ │ ├── BeginningKinect.Chapter2.ThreadPooling_MarkupCompile.i.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ └── MainWindow.g.i.cs
├── Chapter3
│ ├── Chapter3.sln
│ ├── DepthHistograms
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DepthHistograms.csproj
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ ├── DepthImage
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DepthImage.csproj
│ │ ├── DepthImage.csproj.user
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ ├── GreenScreen
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── GreenScreen.csproj
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ └── WineCountry.JPG
│ ├── PlayerIndexing
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── PlayerIndexing.csproj
│ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ └── TakingMeasure
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── PlayerDepthData.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ └── TakingMeasure.csproj
├── Chapter4
│ ├── Chapter4.sln
│ ├── KinectTheDots
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DotPuzzle.cs
│ │ ├── Images
│ │ │ └── hand.png
│ │ ├── KinectTheDots.csproj
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── SkeletonViewer.xaml
│ │ └── SkeletonViewer.xaml.cs
│ └── SkeletonViewer
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ └── SkeletonViewer.csproj
├── Chapter5
│ ├── Chapter5.sln
│ ├── DeepUITargets
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DeepUITargets.csproj
│ │ ├── Images
│ │ │ └── hand.png
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ ├── SimonSays
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Images
│ │ │ └── hand.png
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── SimonSays.csproj
│ │ ├── SkeletonViewer.xaml
│ │ └── SkeletonViewer.xaml.cs
│ └── SimonSaysPoses
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Images
│ │ └── hand.png
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Pose.cs
│ │ ├── PoseAngle.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ ├── SimonSaysPoses.csproj
│ │ ├── SkeletonAngle.cs
│ │ ├── SkeletonPose.cs
│ │ ├── SkeletonViewer.xaml
│ │ └── SkeletonViewer.xaml.cs
├── Chapter6
│ ├── Beginning.Kinect.FrameworkComplete
│ │ ├── Beginning.Kinect.Framework.csproj
│ │ ├── Beginning.Kinect.Framework.sln
│ │ ├── Controls
│ │ │ ├── HoverButton.cs
│ │ │ ├── KinectButton.cs
│ │ │ ├── MagnetButton.cs
│ │ │ ├── MagneticSlide.cs
│ │ │ └── PushButton.cs
│ │ ├── CursorAdorner.cs
│ │ ├── GesturePoint.cs
│ │ ├── Input
│ │ │ └── KinectInput.cs
│ │ ├── KinectCursorEventArgs.cs
│ │ ├── KinectCursorManager.cs
│ │ ├── License.txt
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── Beginning.Kinect.FrameworkStart
│ │ ├── Beginning.Kinect.Framework.csproj
│ │ ├── Beginning.Kinect.Framework.sln
│ │ ├── CursorAdorner.cs
│ │ ├── GesturePoint.cs
│ │ ├── Input
│ │ │ └── KinectInput.cs
│ │ ├── KinectCursorEventArgs.cs
│ │ ├── KinectCursorManager.cs
│ │ ├── License.txt
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ └── KinectFrameworkTest
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── KinectFrameworkTest.csproj
│ │ ├── KinectFrameworkTest.suo
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ └── WaveGesture.cs
├── Chapter7
│ ├── FindAudioDirectionComplete
│ │ ├── FindAudioDirection.sln
│ │ └── FindAudioDirection
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── FindAudioDirection.csproj
│ │ │ ├── License.txt
│ │ │ ├── MainWindow.xaml
│ │ │ ├── MainWindow.xaml.cs
│ │ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ ├── FindAudioDirectionStart
│ │ ├── FindAudioDirection.sln
│ │ └── FindAudioDirection
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── FindAudioDirection.csproj
│ │ │ ├── License.txt
│ │ │ ├── MainWindow.xaml
│ │ │ ├── MainWindow.xaml.cs
│ │ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ ├── PutThatThereComplete
│ │ ├── PutThatThere.sln
│ │ └── PutThatThere
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── CrossHairs.xaml
│ │ │ ├── CrossHairs.xaml.cs
│ │ │ ├── License.txt
│ │ │ ├── MainWindow.xaml
│ │ │ ├── MainWindow.xaml.cs
│ │ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ │ ├── PutThatThere.csproj
│ │ │ └── app.config
│ ├── PutThatThereStart
│ │ ├── PutThatThere.sln
│ │ └── PutThatThere
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── CrossHairs.xaml
│ │ │ ├── CrossHairs.xaml.cs
│ │ │ ├── License.txt
│ │ │ ├── MainWindow.xaml
│ │ │ ├── MainWindow.xaml.cs
│ │ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ │ ├── PutThatThere.csproj
│ │ │ └── app.config
│ ├── RecordAudioComplete
│ │ ├── RecordAudio.sln
│ │ └── RecordAudio
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── License.txt
│ │ │ ├── MainWindow.xaml
│ │ │ ├── MainWindow.xaml.cs
│ │ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ │ ├── RecordAudio.csproj
│ │ │ └── RecorderHelper.cs
│ └── RecordAudioStart
│ │ ├── RecordAudio.sln
│ │ └── RecordAudio
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── License.txt
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ ├── RecordAudio.csproj
│ │ └── RecorderHelper.cs
└── Chapter8
│ ├── FaceFinderComplete
│ ├── FaceFinder.sln
│ └── FaceFinder
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── EmguImageExtensions.cs
│ │ ├── FaceFinder.csproj
│ │ ├── ImageExtensions.cs
│ │ ├── License.txt
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ ├── bin
│ │ └── Debug
│ │ │ ├── Emgu.CV.UI.dll
│ │ │ ├── Emgu.CV.UI.xml
│ │ │ ├── Emgu.CV.dll
│ │ │ ├── Emgu.CV.xml
│ │ │ ├── Emgu.Util.dll
│ │ │ ├── Emgu.Util.xml
│ │ │ ├── ZedGraph.dll
│ │ │ ├── cudart32_40_17.dll
│ │ │ ├── cufft32_40_17.dll
│ │ │ ├── cvextern.dll
│ │ │ ├── cvextern_gpu.dll
│ │ │ ├── opencv_calib3d231.dll
│ │ │ ├── opencv_contrib231.dll
│ │ │ ├── opencv_core231.dll
│ │ │ ├── opencv_features2d231.dll
│ │ │ ├── opencv_ffmpeg.dll
│ │ │ ├── opencv_flann231.dll
│ │ │ ├── opencv_gpu231.dll
│ │ │ ├── opencv_highgui231.dll
│ │ │ ├── opencv_imgproc231.dll
│ │ │ ├── opencv_legacy231.dll
│ │ │ ├── opencv_ml231.dll
│ │ │ ├── opencv_objdetect231.dll
│ │ │ └── opencv_video231.dll
│ │ ├── haarcascade_frontalface_default.xml
│ │ └── happy-man.png
│ ├── HologramComplete
│ ├── Hologram.sln
│ └── Hologram
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Hologram.csproj
│ │ ├── ImageExtensions.cs
│ │ ├── License.txt
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── ImageLibraryComplete
│ ├── ImageLibrarySamples.sln
│ └── ImageLibrarySamples
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── EmguImageExtensions.cs
│ │ ├── ImageExtensions.cs
│ │ ├── ImageLibrarySamples.csproj
│ │ ├── License.txt
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ ├── app.config
│ │ └── bin
│ │ └── Debug
│ │ ├── Emgu.CV.UI.dll
│ │ ├── Emgu.CV.UI.xml
│ │ ├── Emgu.CV.dll
│ │ ├── Emgu.CV.xml
│ │ ├── Emgu.Util.dll
│ │ ├── Emgu.Util.xml
│ │ └── ZedGraph.dll
│ └── ProximityCameraComplete
│ ├── DepthAndPlayerDetection
│ └── ProximityCamera
│ │ ├── ProximityCamera.sln
│ │ └── ProximityCamera
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ImageExtensions.cs
│ │ ├── License.txt
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ └── ProximityCamera.csproj
│ ├── DepthDetection
│ └── ProximityCamera
│ │ ├── ProximityCamera.sln
│ │ └── ProximityCamera
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ImageExtensions.cs
│ │ ├── License.txt
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ └── ProximityCamera.csproj
│ ├── MovementDetection
│ └── ProximityCamera
│ │ ├── ProximityCamera.sln
│ │ └── ProximityCamera
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── EmguImageExtensions.cs
│ │ ├── ImageExtensions.cs
│ │ ├── License.txt
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ ├── ProximityCamera.csproj
│ │ └── bin
│ │ └── Debug
│ │ ├── Emgu.CV.UI.dll
│ │ ├── Emgu.CV.UI.xml
│ │ ├── Emgu.CV.dll
│ │ ├── Emgu.CV.xml
│ │ ├── Emgu.Util.dll
│ │ ├── Emgu.Util.xml
│ │ ├── ZedGraph.dll
│ │ ├── opencv_calib3d231.dll
│ │ ├── opencv_contrib231.dll
│ │ ├── opencv_core231.dll
│ │ ├── opencv_features2d231.dll
│ │ ├── opencv_highgui231.dll
│ │ ├── opencv_imgproc231.dll
│ │ ├── opencv_legacy231.dll
│ │ ├── opencv_ml231.dll
│ │ ├── opencv_objdetect231.dll
│ │ └── opencv_video231.dll
│ ├── SkeletonDetection
│ └── ProximityCamera
│ │ ├── ProximityCamera.sln
│ │ └── ProximityCamera
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── ImageExtensions.cs
│ │ ├── License.txt
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ └── ProximityCamera.csproj
│ └── WriteToVideo
│ └── ProximityCamera
│ ├── ProximityCamera.sln
│ └── ProximityCamera
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── EmguImageExtensions.cs
│ ├── ImageExtensions.cs
│ ├── License.txt
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── ProximityCamera.csproj
│ └── bin
│ └── Debug
│ ├── Emgu.CV.UI.dll
│ ├── Emgu.CV.UI.xml
│ ├── Emgu.CV.dll
│ ├── Emgu.CV.xml
│ ├── Emgu.Util.dll
│ ├── Emgu.Util.xml
│ ├── ZedGraph.dll
│ ├── opencv_calib3d231.dll
│ ├── opencv_contrib231.dll
│ ├── opencv_core231.dll
│ ├── opencv_features2d231.dll
│ ├── opencv_highgui231.dll
│ ├── opencv_imgproc231.dll
│ ├── opencv_legacy231.dll
│ ├── opencv_ml231.dll
│ ├── opencv_objdetect231.dll
│ └── opencv_video231.dll
└── contributing.md
/9781430241041.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/9781430241041.jpg
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/LICENSE.txt
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Apress Source Code
2 |
3 | This repository accompanies [*Beginning Kinect Programming with the Microsoft Kinect SDK*](http://www.apress.com/9781430241041) by Jarrett Webb and James Ashley (Apress, 2012).
4 |
5 | 
6 |
7 | Download the files as a zip using the green button, or clone the repository to your machine using Git.
8 |
9 | ## Releases
10 |
11 | Release v1.0 corresponds to the code in the published book, without corrections or updates.
12 |
13 | ## Contributions
14 |
15 | See the file Contributing.md for more information on how you can contribute to this repository.
16 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 |
30 | namespace BeginningKinect.Chapter2.ApplicationFundamentals
31 | {
32 | ///
33 | /// Interaction logic for App.xaml
34 | ///
35 | public partial class App : Application
36 | {
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter2.ApplicationFundamentals.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/bin/Debug/BeginningKinect.Chapter2.ApplicationFundamentals.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/bin/Debug/BeginningKinect.Chapter2.ApplicationFundamentals.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter2/ApplicationFundamentals/bin/Debug/BeginningKinect.Chapter2.ApplicationFundamentals.vshost.exe
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/bin/Debug/BeginningKinect.Chapter2.ApplicationFundamentals.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/bin/Debug/BeginningKinect.Chapter2.ApplicationFundamentals.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/obj/x86/Debug/ApplicationFundamentals.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | D:\9781430241041\Src\Chapter2\ApplicationFundamentals\bin\Debug\BeginningKinect.Chapter2.ApplicationFundamentals.exe.config
2 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/obj/x86/Debug/BeginningKinect.Chapter2.ApplicationFundamentals_MarkupCompile.i.cache:
--------------------------------------------------------------------------------
1 | BeginningKinect.Chapter2.ApplicationFundamentals
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | D:\9781430241041\Src\Chapter2\ApplicationFundamentals\obj\x86\Debug\
8 | BeginningKinect.Chapter2.ApplicationFundamentals
9 | none
10 | false
11 | DEBUG;TRACE
12 | D:\9781430241041\Src\Chapter2\ApplicationFundamentals\App.xaml
13 | 11151548125
14 |
15 | 61954129222
16 | 13776006423
17 | MainWindow.xaml;
18 |
19 | False
20 |
21 |
--------------------------------------------------------------------------------
/Src/Chapter2/ApplicationFundamentals/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter2/ApplicationFundamentals/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/Src/Chapter2/Chapter2.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter2/Chapter2.suo
--------------------------------------------------------------------------------
/Src/Chapter2/Polling/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter2/Polling/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter2.Polling
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter2/Polling/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter2/Polling/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter2.Polling.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter2/Polling/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter2/Polling/obj/x86/Debug/BeginningKinect.Chapter2.Polling_MarkupCompile.i.cache:
--------------------------------------------------------------------------------
1 | BeginningKinect.Chapter2.Polling
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | D:\9781430241041\Src\Chapter2\Polling\obj\x86\Debug\
8 | BeginningKinect.Chapter2.Polling
9 | none
10 | false
11 | DEBUG;TRACE
12 | D:\9781430241041\Src\Chapter2\Polling\App.xaml
13 | 11151548125
14 |
15 | 61849925768
16 | 132034344849
17 | MainWindow.xaml;
18 |
19 | False
20 |
21 |
--------------------------------------------------------------------------------
/Src/Chapter2/Polling/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter2/Polling/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/Src/Chapter2/ThreadPolling/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter2/ThreadPolling/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter2.ThreadPooling
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter2/ThreadPolling/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter2/ThreadPolling/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter2.ThreadPooling.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter2/ThreadPolling/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter2/ThreadPolling/obj/x86/Debug/BeginningKinect.Chapter2.ThreadPooling_MarkupCompile.i.cache:
--------------------------------------------------------------------------------
1 | BeginningKinect.Chapter2.ThreadPooling
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | D:\9781430241041\Src\Chapter2\ThreadPolling\obj\x86\Debug\
8 | BeginningKinect.Chapter2.ThreadPooling
9 | none
10 | false
11 | DEBUG;TRACE
12 | D:\9781430241041\Src\Chapter2\ThreadPolling\App.xaml
13 | 11151548125
14 |
15 | 61849925768
16 | 132034344849
17 | MainWindow.xaml;
18 |
19 | False
20 |
21 |
--------------------------------------------------------------------------------
/Src/Chapter2/ThreadPolling/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter2/ThreadPolling/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/Src/Chapter3/DepthHistograms/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthHistograms/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter3.DepthHistograms
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthHistograms/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthHistograms/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter3.DepthHistograms.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthHistograms/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthImage/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthImage/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 | using System;
22 | using System.Collections.Generic;
23 | using System.Configuration;
24 | using System.Data;
25 | using System.Linq;
26 | using System.Windows;
27 |
28 | namespace BeginningKinect.Chapter3.DepthImage
29 | {
30 | ///
31 | /// Interaction logic for App.xaml
32 | ///
33 | public partial class App : Application
34 | {
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthImage/DepthImage.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ShowAllFiles
5 |
6 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthImage/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter3.DepthImage.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter3/DepthImage/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter3/GreenScreen/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter3/GreenScreen/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter3.GreenScreen
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter3/GreenScreen/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Src/Chapter3/GreenScreen/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter3.GreenScreen.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter3/GreenScreen/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter3/GreenScreen/WineCountry.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter3/GreenScreen/WineCountry.JPG
--------------------------------------------------------------------------------
/Src/Chapter3/PlayerIndexing/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter3/PlayerIndexing/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter3.PlayerIndexing
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter3/PlayerIndexing/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Src/Chapter3/PlayerIndexing/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter3.PlayerIndexing.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter3/PlayerIndexing/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter3/TakingMeasure/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter3/TakingMeasure/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter3.TakingMeasure
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter3/TakingMeasure/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter3.TakingMeasure.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter3/TakingMeasure/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter4/Chapter4.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KinectTheDots", "KinectTheDots\KinectTheDots.csproj", "{359CC256-B63A-4C34-B698-74EBB60AE144}"
5 | EndProject
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SkeletonViewer", "SkeletonViewer\SkeletonViewer.csproj", "{B4E4AF4F-739D-45F0-8314-3C88CC417E6B}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x86 = Debug|x86
11 | Release|x86 = Release|x86
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {359CC256-B63A-4C34-B698-74EBB60AE144}.Debug|x86.ActiveCfg = Debug|x86
15 | {359CC256-B63A-4C34-B698-74EBB60AE144}.Debug|x86.Build.0 = Debug|x86
16 | {359CC256-B63A-4C34-B698-74EBB60AE144}.Release|x86.ActiveCfg = Release|x86
17 | {359CC256-B63A-4C34-B698-74EBB60AE144}.Release|x86.Build.0 = Release|x86
18 | {B4E4AF4F-739D-45F0-8314-3C88CC417E6B}.Debug|x86.ActiveCfg = Debug|x86
19 | {B4E4AF4F-739D-45F0-8314-3C88CC417E6B}.Debug|x86.Build.0 = Debug|x86
20 | {B4E4AF4F-739D-45F0-8314-3C88CC417E6B}.Release|x86.ActiveCfg = Release|x86
21 | {B4E4AF4F-739D-45F0-8314-3C88CC417E6B}.Release|x86.Build.0 = Release|x86
22 | EndGlobalSection
23 | GlobalSection(SolutionProperties) = preSolution
24 | HideSolutionNode = FALSE
25 | EndGlobalSection
26 | EndGlobal
27 |
--------------------------------------------------------------------------------
/Src/Chapter4/KinectTheDots/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter4/KinectTheDots/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter4.KinectTheDots
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter4/KinectTheDots/DotPuzzle.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System.Collections.Generic;
23 | using System.Windows;
24 |
25 |
26 | namespace BeginningKinect.Chapter4.KinectTheDots
27 | {
28 | // Listing 4-8
29 | public class DotPuzzle
30 | {
31 | #region Constructor
32 | public DotPuzzle()
33 | {
34 | this.Dots = new List();
35 | }
36 | #endregion Constructor
37 |
38 |
39 | #region Properties
40 | public List Dots { get; private set; }
41 | #endregion Properties
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/Src/Chapter4/KinectTheDots/Images/hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter4/KinectTheDots/Images/hand.png
--------------------------------------------------------------------------------
/Src/Chapter4/KinectTheDots/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/Src/Chapter4/KinectTheDots/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter4.KinectTheDots.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter4/KinectTheDots/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter4/KinectTheDots/SkeletonViewer.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Src/Chapter4/SkeletonViewer/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter4/SkeletonViewer/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter4.SkeletonViewer
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter4/SkeletonViewer/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Src/Chapter4/SkeletonViewer/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter4.SkeletonViewer.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter4/SkeletonViewer/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter5/Chapter5.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeepUITargets", "DeepUITargets\DeepUITargets.csproj", "{C1744268-86B2-4A9D-9699-0DD063CE8AF3}"
5 | EndProject
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimonSays", "SimonSays\SimonSays.csproj", "{A9581C3E-51F7-4567-9443-4C08D0C59935}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimonSaysPoses", "SimonSaysPoses\SimonSaysPoses.csproj", "{E968CA07-A13D-4470-9968-3A4758F751EE}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|x86 = Debug|x86
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {C1744268-86B2-4A9D-9699-0DD063CE8AF3}.Debug|x86.ActiveCfg = Debug|x86
17 | {C1744268-86B2-4A9D-9699-0DD063CE8AF3}.Debug|x86.Build.0 = Debug|x86
18 | {C1744268-86B2-4A9D-9699-0DD063CE8AF3}.Release|x86.ActiveCfg = Release|x86
19 | {C1744268-86B2-4A9D-9699-0DD063CE8AF3}.Release|x86.Build.0 = Release|x86
20 | {A9581C3E-51F7-4567-9443-4C08D0C59935}.Debug|x86.ActiveCfg = Debug|x86
21 | {A9581C3E-51F7-4567-9443-4C08D0C59935}.Debug|x86.Build.0 = Debug|x86
22 | {A9581C3E-51F7-4567-9443-4C08D0C59935}.Release|x86.ActiveCfg = Release|x86
23 | {A9581C3E-51F7-4567-9443-4C08D0C59935}.Release|x86.Build.0 = Release|x86
24 | {E968CA07-A13D-4470-9968-3A4758F751EE}.Debug|x86.ActiveCfg = Debug|x86
25 | {E968CA07-A13D-4470-9968-3A4758F751EE}.Debug|x86.Build.0 = Debug|x86
26 | {E968CA07-A13D-4470-9968-3A4758F751EE}.Release|x86.ActiveCfg = Release|x86
27 | {E968CA07-A13D-4470-9968-3A4758F751EE}.Release|x86.Build.0 = Release|x86
28 | EndGlobalSection
29 | GlobalSection(SolutionProperties) = preSolution
30 | HideSolutionNode = FALSE
31 | EndGlobalSection
32 | EndGlobal
33 |
--------------------------------------------------------------------------------
/Src/Chapter5/DeepUITargets/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter5/DeepUITargets/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter5.DeepUITargets
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter5/DeepUITargets/Images/hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter5/DeepUITargets/Images/hand.png
--------------------------------------------------------------------------------
/Src/Chapter5/DeepUITargets/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter5.DeepUITargets.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter5/DeepUITargets/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSays/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSays/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter5.SimonSays
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSays/Images/hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter5/SimonSays/Images/hand.png
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSays/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter5.SimonSays.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSays/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSays/SkeletonViewer.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/App.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Configuration;
25 | using System.Data;
26 | using System.Linq;
27 | using System.Windows;
28 |
29 | namespace BeginningKinect.Chapter5.SimonSaysPoses
30 | {
31 | ///
32 | /// Interaction logic for App.xaml
33 | ///
34 | public partial class App : Application
35 | {
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/Images/hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter5/SimonSaysPoses/Images/hand.png
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/Pose.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Linq;
25 | using System.Text;
26 |
27 | namespace BeginningKinect.Chapter5.SimonSaysPoses
28 | {
29 | public struct Pose
30 | {
31 | public string Title;
32 | public PoseAngle[] Angles;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/PoseAngle.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Linq;
25 | using System.Text;
26 |
27 | using Microsoft.Kinect;
28 |
29 |
30 | namespace BeginningKinect.Chapter5.SimonSaysPoses
31 | {
32 | public class PoseAngle
33 | {
34 | public PoseAngle(JointType centerJoint, JointType angleJoint, double angle, double threshold)
35 | {
36 | CenterJoint = centerJoint;
37 | AngleJoint = angleJoint;
38 | Angle = angle;
39 | Threshold = threshold;
40 | }
41 |
42 |
43 | public JointType CenterJoint { get; private set;}
44 | public JointType AngleJoint { get; private set;}
45 | public double Angle { get; private set;}
46 | public double Threshold { get; private set;}
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BeginningKinect.Chapter5.SimonSaysPoses.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/SkeletonAngle.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Linq;
25 | using System.Text;
26 |
27 | using Microsoft.Kinect;
28 |
29 |
30 | namespace BeginningKinect.Chapter5.SimonSaysPoses
31 | {
32 | public struct SkeletonAngle
33 | {
34 | public JointType CenterJoint;
35 | public JointType AngleJoint;
36 | public double Angle;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/SkeletonPose.cs:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright (c) 2012 Jarrett Webb & James Ashley
4 | *
5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 | * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 | *
10 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 | *
12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 | * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15 | * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
16 | * IN THE SOFTWARE.
17 | *
18 | *
19 | */
20 |
21 |
22 | using System;
23 | using System.Collections.Generic;
24 | using System.Linq;
25 | using System.Text;
26 |
27 | using Microsoft.Kinect;
28 |
29 | namespace BeginningKinect.Chapter5.SimonSaysPoses
30 | {
31 | public class SkeletonPose
32 | {
33 | public Skeleton Skeleton;
34 | public SkeletonAngle[] Angles;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Src/Chapter5/SimonSaysPoses/SkeletonViewer.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkComplete/Controls/PushButton.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows.Controls;
6 | using System.Windows;
7 | using Beginning.Kinect.Framework.Input;
8 | using System.Diagnostics;
9 |
10 | namespace Beginning.Kinect.Framework.Controls
11 | {
12 | public class PushButton: MagnetButton
13 | {
14 | protected double _handDepth;
15 |
16 | public double PushThreshold
17 | {
18 | get { return (double)GetValue(PushThresholdProperty); }
19 | set { SetValue(PushThresholdProperty, value); }
20 | }
21 |
22 | // Using a DependencyProperty as the backing store for Pushthreshold. This enables animation, styling, binding, etc...
23 | public static readonly DependencyProperty PushThresholdProperty =
24 | DependencyProperty.Register("PushThreshold", typeof(double), typeof(PushButton), new UIPropertyMetadata(100d));
25 |
26 |
27 | protected override void OnKinectCursorMove(object sender, KinectCursorEventArgs e)
28 | {
29 | if (e.Z < _handDepth - PushThreshold)
30 | {
31 | RaiseEvent(new RoutedEventArgs(ClickEvent));
32 | }
33 | }
34 |
35 | protected override void OnKinectCursorEnter(object sender, KinectCursorEventArgs e)
36 | {
37 | _handDepth = e.Z;
38 | }
39 |
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkComplete/GesturePoint.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace Beginning.Kinect.Framework
7 | {
8 | ///
9 | /// Four-dimensional structure to track gestures.
10 | ///
11 | public struct GesturePoint
12 | {
13 | public double X{get;set;}
14 | public double Y{get;set;}
15 | public double Z{get;set;}
16 | public DateTime T { get; set; }
17 |
18 | ///
19 | /// Determines whether the specified is equal to this instance.
20 | ///
21 | /// The to compare with this instance.
22 | ///
23 | /// true if the specified is equal to this instance; otherwise, false.
24 | ///
25 | public override bool Equals(object obj)
26 | {
27 | var o = (GesturePoint)obj;
28 | return (X == o.X) && (Y == o.Y) && (Z == o.Z) && (T == o.T);
29 | }
30 |
31 | ///
32 | /// Returns a hash code for this instance.
33 | ///
34 | ///
35 | /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
36 | ///
37 | public override int GetHashCode()
38 | {
39 | return base.GetHashCode();
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkComplete/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkComplete/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Beginning.Kinect.Framework")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Webb and Ashley")]
12 | [assembly: AssemblyProduct("Beginning.Kinect.Framework")]
13 | [assembly: AssemblyCopyright("Copyright © Webb and Ashley 2012")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("822c17b7-87a0-480d-adca-917207a2d52a")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkStart/Beginning.Kinect.Framework.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Beginning.Kinect.Framework", "Beginning.Kinect.Framework.csproj", "{26378947-6F95-45F1-B7ED-E5A88A83F7FE}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {26378947-6F95-45F1-B7ED-E5A88A83F7FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {26378947-6F95-45F1-B7ED-E5A88A83F7FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {26378947-6F95-45F1-B7ED-E5A88A83F7FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {26378947-6F95-45F1-B7ED-E5A88A83F7FE}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkStart/GesturePoint.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace Beginning.Kinect.Framework
7 | {
8 | ///
9 | /// Four-dimensional structure to track gestures.
10 | ///
11 | public struct GesturePoint
12 | {
13 | public double X{get;set;}
14 | public double Y{get;set;}
15 | public double Z{get;set;}
16 | public DateTime T { get; set; }
17 |
18 | ///
19 | /// Determines whether the specified is equal to this instance.
20 | ///
21 | /// The to compare with this instance.
22 | ///
23 | /// true if the specified is equal to this instance; otherwise, false.
24 | ///
25 | public override bool Equals(object obj)
26 | {
27 | var o = (GesturePoint)obj;
28 | return (X == o.X) && (Y == o.Y) && (Z == o.Z) && (T == o.T);
29 | }
30 |
31 | ///
32 | /// Returns a hash code for this instance.
33 | ///
34 | ///
35 | /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
36 | ///
37 | public override int GetHashCode()
38 | {
39 | return base.GetHashCode();
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkStart/KinectCursorManager.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Windows;
3 | using System;
4 | using Beginning.Kinect.Framework.Input;
5 | using System.Windows.Threading;
6 | using System.Diagnostics;
7 | using Microsoft.Kinect;
8 |
9 | namespace Beginning.Kinect.Framework
10 | {
11 | ///
12 | /// Cursor Manager coordinates hand tracking.
13 | ///
14 | public class KinectCursorManager
15 | {
16 | // local members for managing kinect and hand tracking objects
17 | private KinectSensor _kinectSensor;
18 | private CursorAdorner _cursorAdorner;
19 | private readonly Window _window;
20 | private UIElement _lastElementOver;
21 | private bool _isHandTrackingActivated;
22 | private static bool _isInitialized;
23 | private static KinectCursorManager _instance;
24 | private List _gesturePoints;
25 | private bool _gesturePointTrackingEnabled;
26 | private double _swipeLength, _swipeDeviation;
27 | private int _swipeTime;
28 | private bool _hasHandThreshold = true;
29 |
30 | private double _xOutOfBoundsLength;
31 | private static double _initialSwipeX;
32 |
33 | //TODO: complete implementation
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkStart/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter6/Beginning.Kinect.FrameworkStart/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Beginning.Kinect.Framework")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Webb and Ashley")]
12 | [assembly: AssemblyProduct("Beginning.Kinect.Framework")]
13 | [assembly: AssemblyCopyright("Copyright © Webb and Ashley 2012")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("822c17b7-87a0-480d-adca-917207a2d52a")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Src/Chapter6/KinectFrameworkTest/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter6/KinectFrameworkTest/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace KinectFrameworkTest
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter6/KinectFrameworkTest/KinectFrameworkTest.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter6/KinectFrameworkTest/KinectFrameworkTest.suo
--------------------------------------------------------------------------------
/Src/Chapter6/KinectFrameworkTest/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Src/Chapter6/KinectFrameworkTest/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace KinectFrameworkTest.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter6/KinectFrameworkTest/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionComplete/FindAudioDirection.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FindAudioDirection", "FindAudioDirection\FindAudioDirection.csproj", "{BE61FD88-EEBC-4765-BFA3-EE494818BF62}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {BE61FD88-EEBC-4765-BFA3-EE494818BF62}.Debug|x86.ActiveCfg = Debug|x86
13 | {BE61FD88-EEBC-4765-BFA3-EE494818BF62}.Debug|x86.Build.0 = Debug|x86
14 | {BE61FD88-EEBC-4765-BFA3-EE494818BF62}.Release|x86.ActiveCfg = Release|x86
15 | {BE61FD88-EEBC-4765-BFA3-EE494818BF62}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionComplete/FindAudioDirection/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionComplete/FindAudioDirection/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace FindAudioDirection
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionComplete/FindAudioDirection/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionComplete/FindAudioDirection/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionComplete/FindAudioDirection/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace FindAudioDirection.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionComplete/FindAudioDirection/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionStart/FindAudioDirection.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FindAudioDirection", "FindAudioDirection\FindAudioDirection.csproj", "{BE61FD88-EEBC-4765-BFA3-EE494818BF62}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {BE61FD88-EEBC-4765-BFA3-EE494818BF62}.Debug|x86.ActiveCfg = Debug|x86
13 | {BE61FD88-EEBC-4765-BFA3-EE494818BF62}.Debug|x86.Build.0 = Debug|x86
14 | {BE61FD88-EEBC-4765-BFA3-EE494818BF62}.Release|x86.ActiveCfg = Release|x86
15 | {BE61FD88-EEBC-4765-BFA3-EE494818BF62}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionStart/FindAudioDirection/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionStart/FindAudioDirection/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace FindAudioDirection
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionStart/FindAudioDirection/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionStart/FindAudioDirection/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionStart/FindAudioDirection/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Data;
8 | using System.Windows.Documents;
9 | using System.Windows.Input;
10 | using System.Windows.Media;
11 | using System.Windows.Media.Imaging;
12 | using System.Windows.Navigation;
13 | using System.Windows.Shapes;
14 | using System.ComponentModel;
15 | using System.Threading;
16 | using Microsoft.Kinect;
17 | using System.Diagnostics;
18 |
19 | namespace FindAudioDirection
20 | {
21 | ///
22 | /// Interaction logic for MainWindow.xaml
23 | ///
24 | public partial class MainWindow : Window, INotifyPropertyChanged
25 | {
26 | private double _beamAngle;
27 |
28 | public MainWindow()
29 | {
30 | //TODO: implement
31 | }
32 |
33 | private KinectAudioSource CreateAudioSource()
34 | {
35 | //TODO: implement
36 | }
37 |
38 | private void ListenForBeamChanges()
39 | {
40 | //TODO: implement
41 | }
42 |
43 | void audioSource_BeamAngleChanged(object sender, BeamAngleChangedEventArgs e)
44 | {
45 | //TODO: implement
46 | }
47 |
48 | public event PropertyChangedEventHandler PropertyChanged;
49 |
50 | private void OnPropertyChanged(string propName)
51 | {
52 | //TODO: implement
53 | }
54 |
55 |
56 |
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionStart/FindAudioDirection/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace FindAudioDirection.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter7/FindAudioDirectionStart/FindAudioDirection/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PutThatThere", "PutThatThere\PutThatThere.csproj", "{036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}.Debug|x86.ActiveCfg = Debug|x86
13 | {036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}.Debug|x86.Build.0 = Debug|x86
14 | {036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}.Release|x86.ActiveCfg = Release|x86
15 | {036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace PutThatThere
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/CrossHairs.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/CrossHairs.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Data;
8 | using System.Windows.Documents;
9 | using System.Windows.Input;
10 | using System.Windows.Media;
11 | using System.Windows.Media.Imaging;
12 | using System.Windows.Navigation;
13 | using System.Windows.Shapes;
14 |
15 | namespace PutThatThere
16 | {
17 | ///
18 | /// Interaction logic for CrossHairs.xaml
19 | ///
20 | public partial class CrossHairs : UserControl
21 | {
22 | public CrossHairs()
23 | {
24 | InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace PutThatThere.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereComplete/PutThatThere/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PutThatThere", "PutThatThere\PutThatThere.csproj", "{036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}.Debug|x86.ActiveCfg = Debug|x86
13 | {036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}.Debug|x86.Build.0 = Debug|x86
14 | {036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}.Release|x86.ActiveCfg = Release|x86
15 | {036FCB30-D13A-4A69-BFC6-59FBFB6B51EF}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace PutThatThere
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/CrossHairs.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/CrossHairs.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Data;
8 | using System.Windows.Documents;
9 | using System.Windows.Input;
10 | using System.Windows.Media;
11 | using System.Windows.Media.Imaging;
12 | using System.Windows.Navigation;
13 | using System.Windows.Shapes;
14 |
15 | namespace PutThatThere
16 | {
17 | ///
18 | /// Interaction logic for CrossHairs.xaml
19 | ///
20 | public partial class CrossHairs : UserControl
21 | {
22 | public CrossHairs()
23 | {
24 | InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace PutThatThere.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter7/PutThatThereStart/PutThatThere/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioComplete/RecordAudio.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecordAudio", "RecordAudio\RecordAudio.csproj", "{EAC3A166-07C8-4ABF-8087-18EEAC700109}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {EAC3A166-07C8-4ABF-8087-18EEAC700109}.Debug|x86.ActiveCfg = Debug|x86
13 | {EAC3A166-07C8-4ABF-8087-18EEAC700109}.Debug|x86.Build.0 = Debug|x86
14 | {EAC3A166-07C8-4ABF-8087-18EEAC700109}.Release|x86.ActiveCfg = Release|x86
15 | {EAC3A166-07C8-4ABF-8087-18EEAC700109}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioComplete/RecordAudio/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioComplete/RecordAudio/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace RecordAudio
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioComplete/RecordAudio/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioComplete/RecordAudio/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioComplete/RecordAudio/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace RecordAudio.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioComplete/RecordAudio/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioStart/RecordAudio.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecordAudio", "RecordAudio\RecordAudio.csproj", "{EAC3A166-07C8-4ABF-8087-18EEAC700109}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {EAC3A166-07C8-4ABF-8087-18EEAC700109}.Debug|x86.ActiveCfg = Debug|x86
13 | {EAC3A166-07C8-4ABF-8087-18EEAC700109}.Debug|x86.Build.0 = Debug|x86
14 | {EAC3A166-07C8-4ABF-8087-18EEAC700109}.Release|x86.ActiveCfg = Release|x86
15 | {EAC3A166-07C8-4ABF-8087-18EEAC700109}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioStart/RecordAudio/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioStart/RecordAudio/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace RecordAudio
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioStart/RecordAudio/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioStart/RecordAudio/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioStart/RecordAudio/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace RecordAudio.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter7/RecordAudioStart/RecordAudio/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FaceFinder", "FaceFinder\FaceFinder.csproj", "{BF544336-972A-4900-B32D-D7F23A76B49C}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {BF544336-972A-4900-B32D-D7F23A76B49C}.Debug|x86.ActiveCfg = Debug|x86
13 | {BF544336-972A-4900-B32D-D7F23A76B49C}.Debug|x86.Build.0 = Debug|x86
14 | {BF544336-972A-4900-B32D-D7F23A76B49C}.Release|x86.ActiveCfg = Release|x86
15 | {BF544336-972A-4900-B32D-D7F23A76B49C}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace FaceFinder
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/EmguImageExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Drawing;
6 | using Microsoft.Kinect;
7 | using System.Drawing.Imaging;
8 | using System.Runtime.InteropServices;
9 | using Emgu.CV;
10 | using Emgu.CV.Structure;
11 | using System.Windows;
12 | using System.IO;
13 |
14 | namespace ImageManipulationExtensionMethods
15 | {
16 | public static class EmguImageExtensions
17 | {
18 | public static Image ToOpenCVImage(this ColorImageFrame image)
19 | where TColor : struct, IColor
20 | where TDepth : new()
21 | {
22 | var bitmap = image.ToBitmap();
23 | return new Image(bitmap);
24 | }
25 |
26 | public static Image ToOpenCVImage(this Bitmap bitmap)
27 | where TColor : struct, IColor
28 | where TDepth : new()
29 | {
30 | return new Image(bitmap);
31 | }
32 |
33 | public static System.Windows.Media.Imaging.BitmapSource ToBitmapSource(this IImage image)
34 | {
35 | var source = image.Bitmap.ToBitmapSource();
36 | return source;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace FaceFinder.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/Emgu.CV.UI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/Emgu.CV.UI.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/Emgu.CV.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/Emgu.CV.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/Emgu.Util.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/Emgu.Util.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/ZedGraph.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/ZedGraph.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/cudart32_40_17.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/cudart32_40_17.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/cufft32_40_17.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/cufft32_40_17.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/cvextern.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/cvextern.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/cvextern_gpu.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/cvextern_gpu.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_calib3d231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_calib3d231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_contrib231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_contrib231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_core231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_core231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_features2d231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_features2d231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_ffmpeg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_ffmpeg.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_flann231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_flann231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_gpu231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_gpu231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_highgui231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_highgui231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_imgproc231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_imgproc231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_legacy231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_legacy231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_ml231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_ml231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_objdetect231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_objdetect231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_video231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/bin/Debug/opencv_video231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/FaceFinderComplete/FaceFinder/happy-man.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/FaceFinderComplete/FaceFinder/happy-man.png
--------------------------------------------------------------------------------
/Src/Chapter8/HologramComplete/Hologram.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hologram", "Hologram\Hologram.csproj", "{02637F61-5F9D-4A4D-813E-C62342B31401}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {02637F61-5F9D-4A4D-813E-C62342B31401}.Debug|x86.ActiveCfg = Debug|x86
13 | {02637F61-5F9D-4A4D-813E-C62342B31401}.Debug|x86.Build.0 = Debug|x86
14 | {02637F61-5F9D-4A4D-813E-C62342B31401}.Release|x86.ActiveCfg = Release|x86
15 | {02637F61-5F9D-4A4D-813E-C62342B31401}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter8/HologramComplete/Hologram/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/HologramComplete/Hologram/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace Hologram
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter8/HologramComplete/Hologram/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter8/HologramComplete/Hologram/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Hologram.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter8/HologramComplete/Hologram/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageLibrarySamples", "ImageLibrarySamples\ImageLibrarySamples.csproj", "{B5B0B17C-F0E6-4AF8-9DAC-7B25F5FE6863}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {B5B0B17C-F0E6-4AF8-9DAC-7B25F5FE6863}.Debug|x86.ActiveCfg = Debug|x86
13 | {B5B0B17C-F0E6-4AF8-9DAC-7B25F5FE6863}.Debug|x86.Build.0 = Debug|x86
14 | {B5B0B17C-F0E6-4AF8-9DAC-7B25F5FE6863}.Release|x86.ActiveCfg = Release|x86
15 | {B5B0B17C-F0E6-4AF8-9DAC-7B25F5FE6863}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace ImageLibrarySamples
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/EmguImageExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Drawing;
6 | using Microsoft.Kinect;
7 | using System.Drawing.Imaging;
8 | using System.Runtime.InteropServices;
9 | using Emgu.CV;
10 | using Emgu.CV.Structure;
11 | using System.Windows;
12 | using System.IO;
13 |
14 | namespace ImageManipulationExtensionMethods
15 | {
16 | public static class EmguImageExtensions
17 | {
18 | public static Image ToOpenCVImage(this ColorImageFrame image)
19 | where TColor : struct, IColor
20 | where TDepth : new()
21 | {
22 | var bitmap = image.ToBitmap();
23 | return new Image(bitmap);
24 | }
25 |
26 | public static Image ToOpenCVImage(this Bitmap bitmap)
27 | where TColor : struct, IColor
28 | where TDepth : new()
29 | {
30 | return new Image(bitmap);
31 | }
32 |
33 | public static System.Windows.Media.Imaging.BitmapSource ToBitmapSource(this IImage image)
34 | {
35 | var source = image.Bitmap.ToBitmapSource();
36 | return source;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Data;
8 | using System.Windows.Documents;
9 | using System.Windows.Input;
10 | using System.Windows.Media;
11 | using System.Windows.Media.Imaging;
12 | using System.Windows.Navigation;
13 | using System.Windows.Shapes;
14 | using Microsoft.Kinect;
15 | using ImageManipulationExtensionMethods;
16 |
17 | namespace ImageLibrarySamples
18 | {
19 | ///
20 | /// Interaction logic for MainWindow.xaml
21 | ///
22 | public partial class MainWindow : Window
23 | {
24 | Microsoft.Kinect.KinectSensor _kinectSensor;
25 |
26 | public MainWindow()
27 | {
28 | InitializeComponent();
29 |
30 | this.Unloaded += delegate
31 | {
32 | _kinectSensor.ColorStream.Disable();
33 | _kinectSensor.DepthStream.Disable();
34 | };
35 |
36 | this.Loaded += delegate
37 | {
38 | _kinectSensor = KinectSensor.KinectSensors[0];
39 | _kinectSensor.ColorStream.Enable(ColorImageFormat.RgbResolution640x480Fps30);
40 | _kinectSensor.DepthStream.Enable(DepthImageFormat.Resolution320x240Fps30);
41 | _kinectSensor.ColorFrameReady += ColorFrameReady;
42 | _kinectSensor.DepthFrameReady += DepthFrameReady;
43 |
44 | _kinectSensor.Start();
45 | };
46 | }
47 |
48 |
49 |
50 | void DepthFrameReady(object sender, DepthImageFrameReadyEventArgs e)
51 | {
52 | this.depthImage.Source = e.OpenDepthImageFrame().ToBitmap().ToBitmapSource();
53 | }
54 |
55 | void ColorFrameReady(object sender, ColorImageFrameReadyEventArgs e)
56 | {
57 | this.rgbImage.Source = e.OpenColorImageFrame().ToBitmapSource();
58 | }
59 |
60 |
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.239
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ImageLibrarySamples.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/bin/Debug/Emgu.CV.UI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/bin/Debug/Emgu.CV.UI.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/bin/Debug/Emgu.CV.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/bin/Debug/Emgu.CV.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/bin/Debug/Emgu.Util.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/bin/Debug/Emgu.Util.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/bin/Debug/ZedGraph.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ImageLibraryComplete/ImageLibrarySamples/bin/Debug/ZedGraph.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthAndPlayerDetection/ProximityCamera/ProximityCamera.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProximityCamera", "ProximityCamera\ProximityCamera.csproj", "{EA99A092-0F75-46A8-ABE7-DD138E4E65FC}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.ActiveCfg = Debug|x86
13 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.Build.0 = Debug|x86
14 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.ActiveCfg = Release|x86
15 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthAndPlayerDetection/ProximityCamera/ProximityCamera/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthAndPlayerDetection/ProximityCamera/ProximityCamera/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace ProximityCamera
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthAndPlayerDetection/ProximityCamera/ProximityCamera/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthAndPlayerDetection/ProximityCamera/ProximityCamera/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthAndPlayerDetection/ProximityCamera/ProximityCamera/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ProximityCamera.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthAndPlayerDetection/ProximityCamera/ProximityCamera/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthDetection/ProximityCamera/ProximityCamera.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProximityCamera", "ProximityCamera\ProximityCamera.csproj", "{EA99A092-0F75-46A8-ABE7-DD138E4E65FC}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.ActiveCfg = Debug|x86
13 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.Build.0 = Debug|x86
14 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.ActiveCfg = Release|x86
15 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthDetection/ProximityCamera/ProximityCamera/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthDetection/ProximityCamera/ProximityCamera/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace ProximityCamera
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthDetection/ProximityCamera/ProximityCamera/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthDetection/ProximityCamera/ProximityCamera/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthDetection/ProximityCamera/ProximityCamera/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ProximityCamera.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/DepthDetection/ProximityCamera/ProximityCamera/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProximityCamera", "ProximityCamera\ProximityCamera.csproj", "{EA99A092-0F75-46A8-ABE7-DD138E4E65FC}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.ActiveCfg = Debug|x86
13 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.Build.0 = Debug|x86
14 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.ActiveCfg = Release|x86
15 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace ProximityCamera
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/EmguImageExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Drawing;
6 | using Microsoft.Kinect;
7 | using System.Drawing.Imaging;
8 | using System.Runtime.InteropServices;
9 | using Emgu.CV;
10 | using Emgu.CV.Structure;
11 | using System.Windows;
12 | using System.IO;
13 |
14 | namespace ImageManipulationExtensionMethods
15 | {
16 | public static class EmguImageExtensions
17 | {
18 | public static Image ToOpenCVImage(this ColorImageFrame image)
19 | where TColor : struct, IColor
20 | where TDepth : new()
21 | {
22 | var bitmap = image.ToBitmap();
23 | return new Image(bitmap);
24 | }
25 |
26 | public static Image ToOpenCVImage(this Bitmap bitmap)
27 | where TColor : struct, IColor
28 | where TDepth : new()
29 | {
30 | return new Image(bitmap);
31 | }
32 |
33 | public static System.Windows.Media.Imaging.BitmapSource ToBitmapSource(this IImage image)
34 | {
35 | var source = image.Bitmap.ToBitmapSource();
36 | return source;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ProximityCamera.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/Emgu.CV.UI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/Emgu.CV.UI.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/Emgu.CV.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/Emgu.CV.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/Emgu.Util.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/Emgu.Util.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/ZedGraph.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/ZedGraph.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_calib3d231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_calib3d231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_contrib231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_contrib231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_core231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_core231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_features2d231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_features2d231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_highgui231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_highgui231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_imgproc231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_imgproc231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_legacy231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_legacy231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_ml231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_ml231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_objdetect231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_objdetect231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_video231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/MovementDetection/ProximityCamera/ProximityCamera/bin/Debug/opencv_video231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/SkeletonDetection/ProximityCamera/ProximityCamera.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProximityCamera", "ProximityCamera\ProximityCamera.csproj", "{EA99A092-0F75-46A8-ABE7-DD138E4E65FC}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.ActiveCfg = Debug|x86
13 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.Build.0 = Debug|x86
14 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.ActiveCfg = Release|x86
15 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/SkeletonDetection/ProximityCamera/ProximityCamera/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/SkeletonDetection/ProximityCamera/ProximityCamera/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace ProximityCamera
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/SkeletonDetection/ProximityCamera/ProximityCamera/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/SkeletonDetection/ProximityCamera/ProximityCamera/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/SkeletonDetection/ProximityCamera/ProximityCamera/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ProximityCamera.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/SkeletonDetection/ProximityCamera/ProximityCamera/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProximityCamera", "ProximityCamera\ProximityCamera.csproj", "{EA99A092-0F75-46A8-ABE7-DD138E4E65FC}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.ActiveCfg = Debug|x86
13 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Debug|x86.Build.0 = Debug|x86
14 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.ActiveCfg = Release|x86
15 | {EA99A092-0F75-46A8-ABE7-DD138E4E65FC}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace ProximityCamera
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/EmguImageExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Drawing;
6 | using Microsoft.Kinect;
7 | using System.Drawing.Imaging;
8 | using System.Runtime.InteropServices;
9 | using Emgu.CV;
10 | using Emgu.CV.Structure;
11 | using System.Windows;
12 | using System.IO;
13 |
14 | namespace ImageManipulationExtensionMethods
15 | {
16 | public static class EmguImageExtensions
17 | {
18 | public static Image ToOpenCVImage(this ColorImageFrame image)
19 | where TColor : struct, IColor
20 | where TDepth : new()
21 | {
22 | var bitmap = image.ToBitmap();
23 | return new Image(bitmap);
24 | }
25 |
26 | public static Image ToOpenCVImage(this Bitmap bitmap)
27 | where TColor : struct, IColor
28 | where TDepth : new()
29 | {
30 | return new Image(bitmap);
31 | }
32 |
33 | public static System.Windows.Media.Imaging.BitmapSource ToBitmapSource(this IImage image)
34 | {
35 | var source = image.Bitmap.ToBitmapSource();
36 | return source;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/License.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Jarrett Webb & James Ashley
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.235
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ProximityCamera.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/Emgu.CV.UI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/Emgu.CV.UI.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/Emgu.CV.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/Emgu.CV.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/Emgu.Util.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/Emgu.Util.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/ZedGraph.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/ZedGraph.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_calib3d231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_calib3d231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_contrib231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_contrib231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_core231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_core231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_features2d231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_features2d231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_highgui231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_highgui231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_imgproc231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_imgproc231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_legacy231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_legacy231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_ml231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_ml231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_objdetect231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_objdetect231.dll
--------------------------------------------------------------------------------
/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_video231.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/beg-kinect-programming-w-msft-kinect-sdk/91d2b48e706b2857fcce7c59375e5842edd0e9d1/Src/Chapter8/ProximityCameraComplete/WriteToVideo/ProximityCamera/ProximityCamera/bin/Debug/opencv_video231.dll
--------------------------------------------------------------------------------
/contributing.md:
--------------------------------------------------------------------------------
1 | # Contributing to Apress Source Code
2 |
3 | Copyright for Apress source code belongs to the author(s). However, under fair use you are encouraged to fork and contribute minor corrections and updates for the benefit of the author(s) and other readers.
4 |
5 | ## How to Contribute
6 |
7 | 1. Make sure you have a GitHub account.
8 | 2. Fork the repository for the relevant book.
9 | 3. Create a new branch on which to make your change, e.g.
10 | `git checkout -b my_code_contribution`
11 | 4. Commit your change. Include a commit message describing the correction. Please note that if your commit message is not clear, the correction will not be accepted.
12 | 5. Submit a pull request.
13 |
14 | Thank you for your contribution!
--------------------------------------------------------------------------------