privid_fhe_cs 2.5.6
See the version list below for details.
dotnet add package privid_fhe_cs --version 2.5.6
NuGet\Install-Package privid_fhe_cs -Version 2.5.6
<PackageReference Include="privid_fhe_cs" Version="2.5.6" />
paket add privid_fhe_cs --version 2.5.6
#r "nuget: privid_fhe_cs, 2.5.6"
// Install privid_fhe_cs as a Cake Addin #addin nuget:?package=privid_fhe_cs&version=2.5.6 // Install privid_fhe_cs as a Cake Tool #tool nuget:?package=privid_fhe_cs&version=2.5.6
Private ID C# SDK
Ver = 2.5.x
Description : C# SDK Decentralized biometrics with fully homomorphic encryption.
- API Documentation —-------------------
https://github.com/prividentity/PrivateIdentity/wiki/C%23-SDK
- Test Procedure
Use the test application provided as privid_fhe_cs_example2 in NuGet
- 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\windows\*.dll $(ProjectDir) // for Windows project
cp $(Pkgprivid_fhe_cs)\lib\windowslinux\*.so $(ProjectDir) // for Linux project
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 Notes (2.5.x) Build 071811.1
Customer Reported Issues
Bug Fixes / Enhancements
- Image size made multiple of 4 pixels in C# wrapper. This is due to SixLabors.ImageSharp compatiblity for odd image sizes.
New Features
- Added support for age prediction (Beta). New API added.
- Added support for ISO 19794-5 Face Portrait extraction (Beta). New API added.
How to Migrate from v2.4.x Compatible - no change required.
Release Notes (2.4.x) Build 6221.1
Customer Reported Issues
Unable to run C# SDK in Docker for Windows or Linux.
Bug Fixes / Enhancements
- Image operations moved to C++ library from C# wrapper library
- System.Drawing.Image is removed, instead SixLabors.ImageSharp is used for image IO.
- Linux SO added in the package to support Linux Docker
New Features
- Added support to find, validate, align and crop Photo ID
- Added support to find, validate, align/crop face and barcode from Photo ID
How to Migrate from v2.1.x
- Change Image.FromFile(filename) to Image.Load(filename)
- Delete Results.cs file from the project. The results class moved to the DLL.
Release Notes (2.1.x) Build 4211.1
Customer Reported Issues
None
Bug Fixes
None
New Features
- Local Cache Support Enables offline operation, reduces network traffic and improves performance by storing encrypted responses locally. The local cache is synchronized every 300 seconds and deleted after 24 hours.
How to Migrate from v1.9.x
t_privid_results_xxxx classes moved out of the parent structure privid_fhe_face class and can be accessed directly. Please reference the new class name when defining the return values.
UPDATE PrivIdService.cs
OLD : privid_fhe_face.t_privid_results_is_valid validResult = privIdFheFace.is_valid(FixedSize(Image.FromFile(fileName), imWidth, imHeight));
NEW : t_privid_results_is_valid validResult = privIdFheFace.is_valid(FixedSize(Image.FromFile(fileName), imWidth, imHeight));
Release Note (1.9.3)
Customer Reported Issues
SDK crashed 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.
The Delete function consistently failed. This is repaired. This was due to a mismatched apiKey in the sample code.
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.
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
Repaired an intermittent bug affecting memory allocation/free for image data storage. This appeared intermittently when running >300 function calls simultaneously.
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
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.
Uses internal C++ REST library instead of C# REST, serialization and deserialization protocol.
Until now, encrypted uuid and guid passed to the user. This version decrypts the uuid and guid in the response structures.
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.
Implemented connection pooling by adding a context parameter that allows many calls with the same init function. This code is thread-safe.
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. |
Windows Store | win is compatible. |
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
- RestSharp (>= 107.3.0)
- SixLabors.ImageSharp (>= 2.1.3)
- System.Drawing.Common (>= 7.0.0-preview.1.22076.8)
- ZXing.Net (>= 0.16.8)
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.