FaceAiSharp
State-of-the-art face detection and face recognition for .NET.
File Explorer
Download Latest Version (.zip)- ci.yml
- dotnet-build-codeql.yml
- dependabot.yml
- Program.cs
- Program.cs
- Program.cs
- Barack_Obama_03.jpg
- biden_7mpx.jpg
- Dockerfile
- group_10mpx.jpg
- obama_family.jpg
- README.md
- Sources.md
- Benchmarks.cs
- BySkywalkerisnull.cs
- BySkywalkerisnullV2.cs
- Benchmarks.cs
- Benchmarks.csproj
- CropFirstVsResizeFirst.cs
- FaceOnnxPreprocess.cs
- FaceOnnxVsImageSharpAlignment.cs
- ImageCloneVsMutate.cs
- ImageSharp.cs
- Program.cs
- Scrfd.cs
- ScrfdGenerateAnchorCenters.cs
- Dockerfile
- README.md
- IEyeStateDetector.cs
- IFaceDetector.cs
- IFaceDetectorWithLandmarks.cs
- IFaceEmbeddingsGenerator.cs
- IFaceLandmarksDetector.cs
- GeometryExtensions.cs
- ImageExtensions.cs
- ImageToTensorExtensions.cs
- TensorExtensions.cs
- ElementwiseGreater.cs
- ElementwiseMax.cs
- ElementwiseMin.cs
- Applications.cs
- ArcFaceEmbeddingsGenerator.cs
- AssemblyAttributes.cs
- FaceAiSharp.csproj
- ImageCalculations.cs
- Metrics.cs
- OpenVinoOpenClosedEye0001.cs
- ScrfdDetector.cs
- FaceAiSharp.Bundle.csproj
- FaceAiSharpBundleFactory.cs
- ImageExtensions.cs
- AssemblyAttributes.cs
- FaceAiSharp.FaceONNX.csproj
- FaceOnnxDetector.cs
- FaceOnnxEmbeddingsGenerator.cs
- FaceOnnxLandmarkExtractor.cs
- crowd.npy
- group.npy
- portrait.npy
- ApplicationsTests.cs
- ArcFaceEmbeddingsGeneratorFixture.cs
- ArcFaceEmbeddingsGeneratorTests.cs
- FaceAiSharp.Tests.csproj
- ImageToTensorCorrectness.cs
- MetricsTests.cs
- NonMaxSupressionCorrectness.cs
- OpenVinoOpenClosedEye0001Fixture.cs
- ScrfdDetectorFixture.cs
- ScrfdDetectorTests.cs
- ScrfdDetectorTests.ObamaFamily.verified.txt
- ScrfdTensorOps.cs
- Usings.cs
- launchSettings.json
- lfw_affineTransformToArcFacePoints.txt
- lfw_angleRotationOnlyAlignment.txt
- CalculateAllDistances.cs
- CalculatePairsDistances.cs
- CountClosedEyes.cs
- Dataset.cs
- FaceAiSharp.Validation.csproj
- GenerateEmbeddings.cs
- Model.cs
- Program.cs
- RenameModelzooBinJpegs.cs
- arcface-modelzoo-bin-converter.ipynb
- make-onnx-output-tensor-dynamic.ipynb
- .dockerignore
- .editorconfig
- .gitattributes
- .gitignore
- CodeCoverage.runsettings
- Directory.Build.props
- Directory.Build.targets
- Directory.Packages.props
- FaceAiSharp.slnx
- global.json
- LICENSE
- nuget.config
- README.md
- stylecop.json
- THIRD-PARTY-NOTICES.TXT
- version.json
# Installation Guide
1. Get the code
git clone https://github.com/georg-jung/FaceAiSharp
Downloads the entire project code from GitHub to your computer.
cd FaceAiSharp
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
โ ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker build -f src/dockerfiles/insightface-scrfd/Dockerfile -t faceaisharp .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 faceaisharp
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. .NET
MediumPrerequisites
dotnet add package Microsoft.ML.OnnxRuntime
Type this command into your terminal and run it.
dotnet add package FaceAiSharp.Bundle
Type this command into your terminal and run it.
dotnet add package FaceAiSharp
Type this command into your terminal and run it.
After dotnet run, check the message or address shown in the terminal.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
