-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
946 additions
and
17 deletions.
There are no files selected for viewing
Submodule DlibDotNet
updated
693 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
set PROJECT=test\FaceRecognitionDotNet.Tests\FaceRecognitionDotNet.Tests | ||
set PACKAGECPU=FaceRecognitionDotNet | ||
set PACKAGECUDA=FaceRecognitionDotNet.CUDA92 | ||
set NUGETDIR=%cd%\nuget | ||
|
||
dotnet remove %PROJECT%.csproj package %PACKAGECPU% | ||
dotnet remove %PROJECT%.csproj package %PACKAGECUDA% | ||
dotnet add %PROJECT%.csproj package %PACKAGECUDA% --source "%NUGETDIR%" | ||
|
||
dotnet test test\FaceRecognitionDotNet.Tests\FaceRecognitionDotNet.Tests.csproj -c Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
annotation.zip | ||
helen_1.zip | ||
helen_2.zip | ||
helen_3.zip | ||
helen_4.zip | ||
helen_5.zip | ||
|
||
helen/* | ||
dlib_face_recognition_resnet_model_v1.dat | ||
mmod_human_face_detector.dat | ||
shape_predictor_5_face_landmarks.dat | ||
shape_predictor_68_face_landmarks.dat | ||
|
||
demo.jpg | ||
white.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Xml.Serialization; | ||
|
||
namespace HelenTraining | ||
{ | ||
|
||
[Serializable] | ||
public sealed class Box | ||
{ | ||
|
||
[XmlAttribute("top")] | ||
public int Top; | ||
|
||
[XmlAttribute("left")] | ||
public int Left; | ||
|
||
[XmlAttribute("width")] | ||
public int Width; | ||
|
||
[XmlAttribute("height")] | ||
public int Height; | ||
|
||
[XmlElement("part")] | ||
public Part[] Part; | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Xml.Serialization; | ||
|
||
namespace HelenTraining | ||
{ | ||
|
||
[Serializable] | ||
[XmlRoot(ElementName = "dataset")] | ||
public class Dataset | ||
{ | ||
|
||
[XmlElement("name")] | ||
public string Name; | ||
|
||
[XmlElement("comment")] | ||
public string Comment; | ||
|
||
[XmlArray("images")] | ||
[XmlArrayItem("image")] | ||
public Image[] Images; | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>netcoreapp2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.CommandLineUtils" Version="1.1.1" /> | ||
<PackageReference Include="System.Drawing.Common" Version="4.5.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\DlibDotNet\src\DlibDotNet\DlibDotNet.csproj" /> | ||
<ProjectReference Include="..\..\src\FaceRecognitionDotNet\FaceRecognitionDotNet.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Xml.Serialization; | ||
|
||
namespace HelenTraining | ||
{ | ||
|
||
[Serializable] | ||
public class Image | ||
{ | ||
|
||
[XmlAttribute("file")] | ||
public string File; | ||
|
||
[XmlElement("box")] | ||
public Box Box; | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Xml.Serialization; | ||
|
||
namespace HelenTraining | ||
{ | ||
|
||
[Serializable] | ||
public sealed class Part | ||
{ | ||
|
||
[XmlAttribute("x")] | ||
public float X; | ||
|
||
[XmlAttribute("y")] | ||
public float Y; | ||
|
||
[XmlAttribute("name")] | ||
public string Name; | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.