privid_fhe_cs 2.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package privid_fhe_cs --version 2.0.4                
NuGet\Install-Package privid_fhe_cs -Version 2.0.4                
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" Version="2.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add privid_fhe_cs --version 2.0.4                
#r "nuget: privid_fhe_cs, 2.0.4"                
#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 as a Cake Addin
#addin nuget:?package=privid_fhe_cs&version=2.0.4

// Install privid_fhe_cs as a Cake Tool
#tool nuget:?package=privid_fhe_cs&version=2.0.4                

Private ID C# SDK

Ver = 2.0.x

Description : C# SDK Decentralized biometrics with fully homomorphic encryption.

  1. APIs

    API details are added to "PrivID Face Recognition.PDF" Page with title : API LIST

  2. Test Procedure


Use the test application provided as privid_fhe_cs_example2 in NuGet
  1. Integration to existing application

Add Nuget package privid_fhe_cs 
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" Version="x.y.x" />
		To :
		<PackageReference Include="privid_fhe_cs" Version="x.y.z" GeneratePathProperty="true" />

Release Note (1.9.3)

Customer Reported Issues

  1. Crash when repeatedly pressing Compare. This was due to a debug file writing to a disk location where the file did not have write access. The debug file write is now disabled and the problem is resolved.

  2. The Delete function failed. This is repaired. This was due to a mismatched apiKey in the sample code.

  3. The Compare function incorrectly accepted rotated images. In this case, the customer�s image was rotated 90 degrees. Due to this, the function returned (-1) instead of (0). Now the Compare function rejects invalid (rotated) images and performs the Compare function correctly.

  4. In previous versions, the DLL needed to be copied to the correct location manually. This is now corrected. We added lib path variable to the project for easy DLL copy through Post-build script. This maintains the NUGET Library Path variable $(Pkgprivid_fhe_cs) through different versions.

Bug Fixes

  1. Repaired an intermittent bug affecting memory allocation/free for image data storage. This appeared intermittently when running >300 function calls simultaneously.

  2. Removed CLAHE augmentation from all functions. This improved recognition algorithm performance by a few percent. This function was a remnant from a previous model.

New Features

  1. All functions (Is_valid, Enroll, Predict, Delete and Compare) now return two different response structures, one for enroll and predict and another for in_valid. These are convenience classes and methods that abstract the caller from the internal JSON response providing access methods independent of an interchange format.

  2. Uses internal C++ REST library instead of C# REST, serialization and deserialization protocol.

  3. Until now, encrypted uuid and guid passed to the user. This version decrypts the uuid and guid in the response structures.

  4. The Compare function is now completely local, no longer interacts with the server and checks the is_valid flag locally. This is now much faster.

  5. Implemented connection pooling by adding a context parameter that allows many calls with the same init function. This code is thread-safe.

Release Note (2.0.2)

  1. Cache enabled
  2. Billing for offline enroll / prediction enabled
  3. Code refactor
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 (2)

Showing the top 2 NuGet packages that depend on privid_fhe_cs:

Package Downloads
privid_fhe_cs_example2

Application Example for C# SDK Decentralized biometrics with fully homomorphic encryption

privid_fhe_cs_example1

Application Example for C# SDK Decentralized biometrics with fully homomorphic encryption

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.5.7 257 7/19/2022
2.5.6 399 7/18/2022
2.4.9 1,489 6/23/2022
2.4.8 1,421 6/22/2022
2.1.4 175 4/21/2022
2.1.2 152 4/20/2022
2.1.1 146 4/20/2022
2.1.0 144 4/19/2022
2.0.9 157 4/19/2022
2.0.8 156 4/14/2022
2.0.7 164 4/13/2022
2.0.6 160 4/13/2022
2.0.5 158 4/12/2022
2.0.4 172 4/12/2022
2.0.3 159 4/11/2022
2.0.1 160 4/11/2022
1.9.3 171 3/30/2022
1.9.2 144 3/30/2022
1.8.6 141 3/25/2022
1.8.4 138 3/25/2022
1.8.2 139 3/23/2022
1.7.8 148 3/22/2022
1.7.7 142 3/22/2022
1.7.6 138 3/22/2022
1.7.5 135 3/21/2022
1.7.0 138 3/21/2022
1.6.5 148 3/21/2022
1.5.8 158 3/17/2022
1.4.0 148 3/13/2022
1.3.6 148 3/11/2022
1.3.5 151 3/11/2022
1.3.0 151 3/9/2022
1.2.6 200 2/24/2022
1.2.3 156 2/24/2022
1.2.2 148 2/24/2022
1.2.1 158 2/24/2022
1.2.0 160 2/24/2022

Added support for return value structure.