Skip to content

Commit

Permalink
lab08
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse-nsquared committed Mar 16, 2015
1 parent a7e180d commit c85c025
Show file tree
Hide file tree
Showing 8 changed files with 226 additions and 40 deletions.
8 changes: 2 additions & 6 deletions Kinect2Sample.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,11 @@ Global
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x86
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Build.0 = Debug|x86
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Deploy.0 = Debug|x86
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x64
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x86
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Build.0 = Release|x86
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Deploy.0 = Release|x86
{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Binary file added Kinect2Sample/Assets/CatEye_left_closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Kinect2Sample/Assets/CatEye_left_open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Kinect2Sample/Assets/CatNose.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 11 additions & 22 deletions Kinect2Sample/Kinect2Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,6 @@
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
Expand All @@ -81,6 +59,9 @@
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Background.png" />
<Content Include="Assets\CatEye_left_closed.png" />
<Content Include="Assets\CatEye_left_open.png" />
<Content Include="Assets\CatNose.png" />
<Content Include="Assets\Logo.scale-100.png" />
<Content Include="Assets\SmallLogo.scale-100.png" />
<Content Include="Assets\SplashScreen.scale-100.png" />
Expand All @@ -97,6 +78,9 @@
</Page>
</ItemGroup>
<ItemGroup>
<SDKReference Include="Microsoft.Kinect.Face, Version=2.0">
<Name>Microsoft.Kinect.Face</Name>
</SDKReference>
<SDKReference Include="Microsoft.VCLibs, version=12.0">
<Name>Microsoft Visual C++ 2013 Runtime Package for Windows</Name>
</SDKReference>
Expand All @@ -107,6 +91,11 @@
<ItemGroup>
<None Include="Kinect2Sample_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Reference Include="KinectFaceStore">
<HintPath>Libraries\x64\KinectFaceStore.dll</HintPath>
</Reference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0' ">
<VisualStudioVersion>12.0</VisualStudioVersion>
</PropertyGroup>
Expand Down
Binary file not shown.
11 changes: 11 additions & 0 deletions Kinect2Sample/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
<Viewbox Grid.Row="1" HorizontalAlignment="Center">
<Grid x:Name="BodyJointsGrid" Background="Transparent" Width="512" Height="414"/>
</Viewbox>
<Viewbox Grid.Row="1" HorizontalAlignment="Center">
<Canvas x:Name="FacePointsCanvas"/>
</Viewbox>
<StackPanel Grid.Row="1" Orientation="Vertical" HorizontalAlignment="Left"
Visibility="{Binding CurrentDisplayFrameType,
Converter={StaticResource DisplayTypeToVisibilityConverter},
Expand Down Expand Up @@ -82,6 +85,14 @@
Click="BackgroundButton_Click">
<TextBlock Text="BG Removed" TextWrapping="Wrap" />
</Button>
<Button Style="{StaticResource FrameSelectorButtonStyle}"
Click="ColorFaceButton_Click">
<TextBlock Text="Color Face" TextWrapping="Wrap" />
</Button>
<Button Style="{StaticResource FrameSelectorButtonStyle}"
Click="InfraredFaceButton_Click" x:Name="InfraredFaceButton">
<TextBlock Text="Infrared Face" TextWrapping="Wrap" />
</Button>
</StackPanel>
</ScrollViewer>
</Grid>
Expand Down
Loading

0 comments on commit c85c025

Please sign in to comment.