privid_fhe_cs_example1 1.1.3
dotnet add package privid_fhe_cs_example1 --version 1.1.3
NuGet\Install-Package privid_fhe_cs_example1 -Version 1.1.3
<PackageReference Include="privid_fhe_cs_example1" Version="1.1.3" />
paket add privid_fhe_cs_example1 --version 1.1.3
#r "nuget: privid_fhe_cs_example1, 1.1.3"
// Install privid_fhe_cs_example1 as a Cake Addin #addin nuget:?package=privid_fhe_cs_example1&version=1.1.3 // Install privid_fhe_cs_example1 as a Cake Tool #tool nuget:?package=privid_fhe_cs_example1&version=1.1.3
Privid Face C# Test Application
Ver = 1.0
Purpose : To provide a Windows C# Desktop Commandlind Application to test Privid Face DLL.
Prepare
Set the Working Directory and keep all the test images and runtime DLLs accordingly. For example, to keep the working directory $(ProjectDir), the directory where the project file is saved. In that case, update :
Working Directory = $(ProjectDir)
add pre-build commands xcopy /E /Y $(NuGetPackageRoot)\privid_fhe_api_tst\1.0.1\contents* $(ProjectDir) xcopy /E /Y $(NuGetPackageRoot)\privid_fhe_api_tst\1.0.1\lib\privid_fhe.dll $(ProjectDir) xcopy /E /Y $(NuGetPackageRoot)\privid_fhe_api_tst\1.0.1\img* $(ProjectDir)
Set the command line arguments for the respective tests as described in Section B.
Test Procedure
1. Extract this package test_face_ver4.tar file to a folder. let that be C:\Users\SPL\test_face_ver4
2. Open Windows CMD prompt and CD to that path
3. type ./predict_all.bat to predict all images in folder ./img
4. type ./enroll_all.bat to predict all images in folder ./img_e
More details including commandline arguments are added in "PrivID Face Recognition.PDF"
Page with title : COMMAND LINE INTERFACE – EXAMPLE
5. .\\bin\\Debug\\net6.0\\privid_fhe_api_tst.exe ./img/a1.png 0 enroll enroll one image
5. .\\bin\\Debug\\net6.0\\privid_fhe_api_tst.exe ./img/a1.png 0 predict predict one image
6. .\\bin\\Debug\\net6.0\\privid_fhe_api_tst.exe ./img/a1.png 0 is_valid check image validity
7. .\\bin\\Debug\\net6.0\\privid_fhe_api_tst.exe ./img/a1.png 0 predict predict one image
8. .\\bin\\Debug\\net6.0\\privid_fhe_api_tst.exe 0c550dd1ea1b68e6a6c837d4c84825ab58daaf47532738c3748223e19f74527158 1 delete
- Components :
1. privid_fhe1.dll : The Privid Face C++ DLL. this is a 64 bit DLL
2. .\\bin\\Debug\\net6.0\\privid_fhe_api_tst.exe : Pre-built Windows Application which take commandline arguments to perform
3. privid_fhe_face.cs : The C# wrapper which calls exported APIs from the above DLL
4. test.cs : The test application code.
More details are added in "PrivID Face Recognition.PDF"
Page with title : SYSTEM OVERVIEW
- Build the C# Application
More details are added in "PrivID Face Recognition.PDF"
Page with title : BUILD THE C# APPLICATION
- Open Issues:
1. REST call is disabled inside DLL. Rest call is performed in CS
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Framework | net is compatible. |
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
- privid_fhe_cs (>= 1.3.0)
- RestSharp (>= 107.3.0)
- System.Drawing.Common (>= 7.0.0-preview.1.22076.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.3 | 218 | 3/8/2022 |