Skip to content

Commit 344de67

Browse files
committed
提交demo源码
1 parent 5083e5b commit 344de67

36 files changed

+3194
-1
lines changed

1

-1
This file was deleted.

ArcSoftFace/ArcSoftFace.sln

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27703.2047
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArcSoftFace", "ArcSoftFace\ArcSoftFace.csproj", "{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Debug|x64 = Debug|x64
12+
Debug|x86 = Debug|x86
13+
Release|Any CPU = Release|Any CPU
14+
Release|x64 = Release|x64
15+
Release|x86 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Debug|x64.ActiveCfg = Debug|x64
21+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Debug|x64.Build.0 = Debug|x64
22+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Debug|x86.ActiveCfg = Debug|x86
23+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Debug|x86.Build.0 = Debug|x86
24+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Release|Any CPU.ActiveCfg = Release|Any CPU
25+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Release|x64.ActiveCfg = Release|x64
27+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Release|x64.Build.0 = Release|x64
28+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Release|x86.ActiveCfg = Release|x86
29+
{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}.Release|x86.Build.0 = Release|x86
30+
EndGlobalSection
31+
GlobalSection(SolutionProperties) = preSolution
32+
HideSolutionNode = FALSE
33+
EndGlobalSection
34+
GlobalSection(ExtensibilityGlobals) = postSolution
35+
SolutionGuid = {7BFF0664-09D6-4119-8629-FF22194D411F}
36+
EndGlobalSection
37+
EndGlobal

ArcSoftFace/ArcSoftFace/App.config

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
5+
</startup>
6+
<appSettings>
7+
<!-- SDK APPID 请到官网https://ai.arcsoft.com.cn/index.html中申请 -->
8+
<add key="APP_ID" value=""/>
9+
10+
<!-- //与win64 SDK对应 请到官网https://ai.arcsoft.com.cn/index.html中申请 -->
11+
<add key="SDKKEY64" value=""/>
12+
13+
<!-- 与win32 SDK对应 请到官网https://ai.arcsoft.com.cn/index.html中申请 -->
14+
<add key="SDKKEY32" value=""/>
15+
</appSettings>
16+
</configuration>
+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{5E201B09-B51B-4DE6-92B9-76BEBEEA7CE6}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>ArcSoftFace</RootNamespace>
10+
<AssemblyName>ArcSoftFace</AssemblyName>
11+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<PlatformTarget>AnyCPU</PlatformTarget>
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<PlatformTarget>AnyCPU</PlatformTarget>
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>bin\Release\</OutputPath>
30+
<DefineConstants>TRACE</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
35+
<PlatformTarget>x64</PlatformTarget>
36+
<OutputPath>bin\x64\Debug\</OutputPath>
37+
</PropertyGroup>
38+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
39+
<PlatformTarget>x64</PlatformTarget>
40+
<OutputPath>bin\x64\Release\</OutputPath>
41+
</PropertyGroup>
42+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
43+
<PlatformTarget>x86</PlatformTarget>
44+
<OutputPath>bin\x86\Debug\</OutputPath>
45+
<Optimize>false</Optimize>
46+
</PropertyGroup>
47+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
48+
<PlatformTarget>x86</PlatformTarget>
49+
<OutputPath>bin\x86\Release\</OutputPath>
50+
</PropertyGroup>
51+
<PropertyGroup>
52+
<ApplicationIcon>favicon.ico</ApplicationIcon>
53+
</PropertyGroup>
54+
<ItemGroup>
55+
<Reference Include="System" />
56+
<Reference Include="System.Core" />
57+
<Reference Include="System.Xml.Linq" />
58+
<Reference Include="System.Data.DataSetExtensions" />
59+
<Reference Include="Microsoft.CSharp" />
60+
<Reference Include="System.Data" />
61+
<Reference Include="System.Deployment" />
62+
<Reference Include="System.Drawing" />
63+
<Reference Include="System.Net.Http" />
64+
<Reference Include="System.Windows.Forms" />
65+
<Reference Include="System.Xml" />
66+
</ItemGroup>
67+
<ItemGroup>
68+
<Compile Include="SDKModels\ASF_AgeInfo.cs" />
69+
<Compile Include="SDKModels\ASF_Face3DAngle.cs" />
70+
<Compile Include="SDKModels\ASF_FaceFeature.cs" />
71+
<Compile Include="SDKModels\ASF_GenderInfo.cs" />
72+
<Compile Include="SDKModels\ASF_ImagePixelFormat.cs" />
73+
<Compile Include="SDKModels\ASF_MultiFaceInfo.cs" />
74+
<Compile Include="SDKModels\ASF_SingleFaceInfo.cs" />
75+
<Compile Include="SDKModels\ASF_VERSION.cs" />
76+
<Compile Include="SDKModels\ASF_OrientCode.cs" />
77+
<Compile Include="SDKModels\ASF_OrientPriority.cs" />
78+
<Compile Include="SDKModels\DetectionMode.cs" />
79+
<Compile Include="SDKModels\FaceEngineMask.cs" />
80+
<Compile Include="SDKModels\MRECT.cs" />
81+
<Compile Include="Entity\ImageInfo.cs" />
82+
<Compile Include="FaceForm.cs">
83+
<SubType>Form</SubType>
84+
</Compile>
85+
<Compile Include="FaceForm.Designer.cs">
86+
<DependentUpon>FaceForm.cs</DependentUpon>
87+
</Compile>
88+
<Compile Include="Program.cs" />
89+
<Compile Include="Properties\AssemblyInfo.cs" />
90+
<Compile Include="Properties\Resources.Designer.cs">
91+
<AutoGen>True</AutoGen>
92+
<DesignTime>True</DesignTime>
93+
<DependentUpon>Resources.resx</DependentUpon>
94+
</Compile>
95+
<Compile Include="SDKUtil\ASFFunctions.cs" />
96+
<Compile Include="Utils\FaceUtil.cs" />
97+
<Compile Include="Utils\ImageUtil.cs" />
98+
<Compile Include="Utils\MemoryUtil.cs" />
99+
<EmbeddedResource Include="FaceForm.resx">
100+
<DependentUpon>FaceForm.cs</DependentUpon>
101+
</EmbeddedResource>
102+
<EmbeddedResource Include="Properties\Resources.resx">
103+
<Generator>ResXFileCodeGenerator</Generator>
104+
<SubType>Designer</SubType>
105+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
106+
</EmbeddedResource>
107+
<None Include="doc\ArcSoftFaceDemo说明文档.docx" />
108+
<None Include="Properties\Settings.settings">
109+
<Generator>SettingsSingleFileGenerator</Generator>
110+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
111+
</None>
112+
<Compile Include="Properties\Settings.Designer.cs">
113+
<AutoGen>True</AutoGen>
114+
<DependentUpon>Settings.settings</DependentUpon>
115+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
116+
</Compile>
117+
</ItemGroup>
118+
<ItemGroup>
119+
<None Include="App.config">
120+
<SubType>Designer</SubType>
121+
</None>
122+
</ItemGroup>
123+
<ItemGroup>
124+
<Content Include="favicon.ico" />
125+
<Content Include="Resources\favicon.ico" />
126+
</ItemGroup>
127+
<ItemGroup>
128+
<COMReference Include="AxWMPLib">
129+
<Guid>{6BF52A50-394A-11D3-B153-00C04F79FAA6}</Guid>
130+
<VersionMajor>1</VersionMajor>
131+
<VersionMinor>0</VersionMinor>
132+
<Lcid>0</Lcid>
133+
<WrapperTool>aximp</WrapperTool>
134+
<Isolated>False</Isolated>
135+
</COMReference>
136+
<COMReference Include="stdole">
137+
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
138+
<VersionMajor>2</VersionMajor>
139+
<VersionMinor>0</VersionMinor>
140+
<Lcid>0</Lcid>
141+
<WrapperTool>primary</WrapperTool>
142+
<Isolated>False</Isolated>
143+
<EmbedInteropTypes>True</EmbedInteropTypes>
144+
</COMReference>
145+
</ItemGroup>
146+
<ItemGroup />
147+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
148+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
using System;
2+
3+
namespace ArcSoftFace.Entity
4+
{
5+
public class ImageInfo
6+
{
7+
/// <summary>
8+
/// 图片的像素数据
9+
/// </summary>
10+
public IntPtr imgData { get; set; }
11+
12+
/// <summary>
13+
/// 图片像素宽
14+
/// </summary>
15+
public int width { get; set; }
16+
17+
/// <summary>
18+
/// 图片像素高
19+
/// </summary>
20+
public int height { get; set; }
21+
22+
/// <summary>
23+
/// 图片格式
24+
/// </summary>
25+
public int format { get; set; }
26+
}
27+
}

0 commit comments

Comments
 (0)