Skip to content

Commit 0b55245

Browse files
committed
c# face recognition 1:N demo
1 parent 08e9423 commit 0b55245

File tree

190 files changed

+483958
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+483958
-0
lines changed

FaceRecognition.sln

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.11.35219.272
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FaceRecognition", "FaceRecognition\FaceRecognition.csproj", "{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Debug|x64 = Debug|x64
12+
Release|Any CPU = Release|Any CPU
13+
Release|x64 = Release|x64
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}.Debug|x64.ActiveCfg = Debug|x64
19+
{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}.Debug|x64.Build.0 = Debug|x64
20+
{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
21+
{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}.Release|Any CPU.Build.0 = Release|Any CPU
22+
{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}.Release|x64.ActiveCfg = Release|x64
23+
{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}.Release|x64.Build.0 = Release|x64
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {BB5DD345-AFCB-4035-A783-B45D7691FDB4}
30+
EndGlobalSection
31+
EndGlobal

FaceRecognition/App.config

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<configSections>
4+
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
5+
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
6+
</configSections>
7+
<startup>
8+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
9+
</startup>
10+
<entityFramework>
11+
<providers>
12+
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
13+
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
14+
</providers>
15+
</entityFramework>
16+
<system.data>
17+
<DbProviderFactories>
18+
<remove invariant="System.Data.SQLite.EF6" />
19+
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
20+
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
21+
</system.data>
22+
</configuration>
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.props" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" />
4+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5+
<PropertyGroup>
6+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
8+
<ProjectGuid>{9ED98838-DCB8-43CD-B2A5-18740F0CDF2C}</ProjectGuid>
9+
<OutputType>WinExe</OutputType>
10+
<RootNamespace>FaceRecognition</RootNamespace>
11+
<AssemblyName>FaceRecognition</AssemblyName>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15+
<Deterministic>true</Deterministic>
16+
<NuGetPackageImportStamp>
17+
</NuGetPackageImportStamp>
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20+
<PlatformTarget>AnyCPU</PlatformTarget>
21+
<DebugSymbols>true</DebugSymbols>
22+
<DebugType>full</DebugType>
23+
<Optimize>false</Optimize>
24+
<OutputPath>bin\Debug\</OutputPath>
25+
<DefineConstants>DEBUG;TRACE</DefineConstants>
26+
<ErrorReport>prompt</ErrorReport>
27+
<WarningLevel>4</WarningLevel>
28+
</PropertyGroup>
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30+
<PlatformTarget>AnyCPU</PlatformTarget>
31+
<DebugType>pdbonly</DebugType>
32+
<Optimize>true</Optimize>
33+
<OutputPath>bin\Release\</OutputPath>
34+
<DefineConstants>TRACE</DefineConstants>
35+
<ErrorReport>prompt</ErrorReport>
36+
<WarningLevel>4</WarningLevel>
37+
</PropertyGroup>
38+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
39+
<DebugSymbols>true</DebugSymbols>
40+
<OutputPath>bin\x64\Debug\</OutputPath>
41+
<DefineConstants>DEBUG;TRACE</DefineConstants>
42+
<DebugType>full</DebugType>
43+
<PlatformTarget>x64</PlatformTarget>
44+
<LangVersion>7.3</LangVersion>
45+
<ErrorReport>prompt</ErrorReport>
46+
<Prefer32Bit>true</Prefer32Bit>
47+
</PropertyGroup>
48+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
49+
<OutputPath>bin\x64\Release\</OutputPath>
50+
<DefineConstants>TRACE</DefineConstants>
51+
<Optimize>true</Optimize>
52+
<DebugType>pdbonly</DebugType>
53+
<PlatformTarget>x64</PlatformTarget>
54+
<LangVersion>7.3</LangVersion>
55+
<ErrorReport>prompt</ErrorReport>
56+
<Prefer32Bit>true</Prefer32Bit>
57+
</PropertyGroup>
58+
<ItemGroup>
59+
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
60+
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath>
61+
</Reference>
62+
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
63+
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
64+
</Reference>
65+
<Reference Include="System" />
66+
<Reference Include="System.ComponentModel.DataAnnotations" />
67+
<Reference Include="System.Core" />
68+
<Reference Include="System.Data.SQLite, Version=1.0.119.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
69+
<HintPath>..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\lib\net46\System.Data.SQLite.dll</HintPath>
70+
<Private>True</Private>
71+
</Reference>
72+
<Reference Include="System.Data.SQLite.EF6, Version=1.0.119.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
73+
<HintPath>..\packages\System.Data.SQLite.EF6.1.0.119.0\lib\net46\System.Data.SQLite.EF6.dll</HintPath>
74+
<Private>True</Private>
75+
</Reference>
76+
<Reference Include="System.Data.SQLite.Linq, Version=1.0.119.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
77+
<HintPath>..\packages\System.Data.SQLite.Linq.1.0.119.0\lib\net46\System.Data.SQLite.Linq.dll</HintPath>
78+
<Private>True</Private>
79+
</Reference>
80+
<Reference Include="System.Xml.Linq" />
81+
<Reference Include="System.Data.DataSetExtensions" />
82+
<Reference Include="Microsoft.CSharp" />
83+
<Reference Include="System.Data" />
84+
<Reference Include="System.Deployment" />
85+
<Reference Include="System.Drawing" />
86+
<Reference Include="System.Net.Http" />
87+
<Reference Include="System.Windows.Forms" />
88+
<Reference Include="System.Xml" />
89+
</ItemGroup>
90+
<ItemGroup>
91+
<Compile Include="FaceSDK.cs" />
92+
<Compile Include="Form1.cs">
93+
<SubType>Form</SubType>
94+
</Compile>
95+
<Compile Include="Form1.Designer.cs">
96+
<DependentUpon>Form1.cs</DependentUpon>
97+
</Compile>
98+
<Compile Include="Person.cs" />
99+
<Compile Include="PersonDialog.cs">
100+
<SubType>Form</SubType>
101+
</Compile>
102+
<Compile Include="PersonDialog.Designer.cs">
103+
<DependentUpon>PersonDialog.cs</DependentUpon>
104+
</Compile>
105+
<Compile Include="Program.cs" />
106+
<Compile Include="Properties\AssemblyInfo.cs" />
107+
<EmbeddedResource Include="Form1.resx">
108+
<DependentUpon>Form1.cs</DependentUpon>
109+
</EmbeddedResource>
110+
<EmbeddedResource Include="PersonDialog.resx">
111+
<DependentUpon>PersonDialog.cs</DependentUpon>
112+
</EmbeddedResource>
113+
<EmbeddedResource Include="Properties\Resources.resx">
114+
<Generator>ResXFileCodeGenerator</Generator>
115+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
116+
<SubType>Designer</SubType>
117+
</EmbeddedResource>
118+
<Compile Include="Properties\Resources.Designer.cs">
119+
<AutoGen>True</AutoGen>
120+
<DependentUpon>Resources.resx</DependentUpon>
121+
</Compile>
122+
<None Include="packages.config" />
123+
<None Include="Properties\Settings.settings">
124+
<Generator>SettingsSingleFileGenerator</Generator>
125+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
126+
</None>
127+
<Compile Include="Properties\Settings.Designer.cs">
128+
<AutoGen>True</AutoGen>
129+
<DependentUpon>Settings.settings</DependentUpon>
130+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
131+
</Compile>
132+
</ItemGroup>
133+
<ItemGroup>
134+
<None Include="App.config" />
135+
</ItemGroup>
136+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
137+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
138+
<PropertyGroup>
139+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
140+
</PropertyGroup>
141+
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.props'))" />
142+
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
143+
<Error Condition="!Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets'))" />
144+
</Target>
145+
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" />
146+
<Import Project="..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets" Condition="Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" />
147+
</Project>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
4+
<StartWorkingDirectory>D:\Temp\ka\project\FaceRecognition-C#\FaceRecognition\bin\x64\Debug\</StartWorkingDirectory>
5+
</PropertyGroup>
6+
</Project>

0 commit comments

Comments
 (0)