privid_fhe_cs_example2 1.3.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package privid_fhe_cs_example2 --version 1.3.2                
NuGet\Install-Package privid_fhe_cs_example2 -Version 1.3.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="privid_fhe_cs_example2" Version="1.3.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add privid_fhe_cs_example2 --version 1.3.2                
#r "nuget: privid_fhe_cs_example2, 1.3.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install privid_fhe_cs_example2 as a Cake Addin
#addin nuget:?package=privid_fhe_cs_example2&version=1.3.2

// Install privid_fhe_cs_example2 as a Cake Tool
#tool nuget:?package=privid_fhe_cs_example2&version=1.3.2                

Privid Face C# Test Application

Ver = 1.3.x

Purpose : To provide a Windows C# Desktop Commandlind Application to test Privid Face DLL.

  1. 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 :
1. Working Directory = $(ProjectDir)
2. add pre-build commands 
  
  xcopy /E /Y  $(Pkgprivid_fhe_cs_example2)\test.src $(ProjectDir);    
  xcopy /E /Y  $(Pkgprivid_fhe_cs_example2)\Results.src $(ProjectDir) ;    
  xcopy  *.src *.cs;    
  xcopy /E /Y  $(Pkgprivid_fhe_cs_example2)\lib\privid_fhe.dll $(ProjectDir);    
  xcopy /E /Y  $(Pkgprivid_fhe_cs_example2)\img\a1.png $(ProjectDir);    
  xcopy /E /Y  $(Pkgprivid_fhe_cs_example2)\privid_app_setting.xml $(ProjectDir);
  xcopy /E /Y  $(Pkgprivid_fhe_cs)\lib\*.dll $(ProjectDir)

3. To make the auto copy of correct runtime DLLs to the working folder,
	Add following lines to 'Post-build event' in Project Options->Build->Events
		xcopy /E /Y  $(Pkgprivid_fhe_cs)\lib\*.dll $(ProjectDir)
	Edit the project file line 
		From :
		<PackageReference Include="privid_fhe_cs_example2" Version="1.3.1"/>
		To :
		<PackageReference Include="privid_fhe_cs" Version="x.y.z" GeneratePathProperty="true" />
		<PackageReference Include="privid_fhe_cs_example2" Version="1.3.1" GeneratePathProperty="true" />
  1. Test Procedure

Set the command line arguments for testing the respective APIs :

a. enroll  one image, set command line argument as 
a1.png 0 enroll       

b. predict one image, 
a1.png 0 predict

c. check image validity,
a1.png 0 is_valid

d. remove an enrolled entry 

0c550dd1ea1b68e6a6c837 1 delete

e. compare 
<folder name with images to compare> <type of images>   compare <reference image>
..\images\ "*.png"   compare IMG_3742.ppm.png
  1. Release Notes (1.3.2)

  1. Added support for returning Response structure instead of bool.
  2. fixed uuid issue for first time enroll case.
  3. support for cache flush added
  4. uuid and guid are stored after descrpting and delete is called after encrypting
  5. tested with privid_fhe_cs 1.9.2.
  6. support for automatic DLL copy to working folder
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.5.3 745 7/19/2022
1.3.2 307 3/30/2022
1.3.1 215 3/30/2022
1.3.0 224 3/30/2022
1.2.3 186 3/13/2022
1.2.2 185 3/11/2022