SimplAP.SDK.Core 1.1.1

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

// Install SimplAP.SDK.Core as a Cake Tool
#tool nuget:?package=SimplAP.SDK.Core&version=1.1.1                

Simple Api SDK

Adapt�r k zjednodu�eniu integr�cie na slu�bu Simpl AP (https://api.simplap.com).

Pou�itie

Z�skanie pr�stupov�ho tokenu (Access token)

var authService = new SimplAPAuthService(username, password, clientSecret, tenant);
var token = await authService.GetAccessToken();

Vytvorenie in�tancie

var _service = new SimplAPService();

Pou�itie dostupn�ch met�d

ProcessImageFile

Met�da k spracovaniu jednoduch�ho obrazov�ho dokumentu.

// ...Typ AI modelu
AIModelType modelType = AIModelType.Vehicle; // alebo AIModelType.IdCard
// ...Konfigur�cia po�adovanej slu�by
MultiFileProcessingInput input = new MultiFileProcessingInput(modelType)
{
    ImageData = ...,
    ProcessesToRun = new ImageAIProcessingType[] { ImageAIProcessingType.ObjectDetection, ... }
};
// ...Zavolanie slu�by
MultiFileProcessingOutput output = await _service.ProcessImageFile(input, token);
Enumer�cia (AIModelType)

Hodnota Opis
Vehicle Rozpozn�vanie dopravn�ch prostriedkov
IdCard Rozpozn�vanie dokladov
[Vstup] (AIModelType, Trieda (MultiFileProcessingInput))

Atrib�t D�tov� typ Opis
ImageData byte[] D�tov� reprezent�cia obr�zka, tzv. byte array
ImageType ProcessedImageType Typ obrazov�ho dokumentu
ProcessesToRun List<ImageAIProcessingType> Zoznam typov akci�, ktor� maj� by� preveden�
[V�stup] Trieda (MultiFileProcessingOutput)

Atrib�t D�tov� typ Opis
ProcessedFiles List<ProcessedObjectFile> Zoznam spracovan�ch obr�zkov s n�vratovou hodnotou (Metad�ta extrahovan� z obr�zkov na z�klade zvolen�ch akci�)
Enumer�cia (ProcessedImageType)

Hodnota Opis
Image Obrazov� dokument typu Obr�zok (predvolen� hodnota)
PDF Obrazov� dokument typu PDF
Enumer�cia (ImageAIProcessingType)

Hodnota Opis Vy�aduje slu�bu
ObjectDetection Rozpoznanie objektov -
Scanner Vy�a�ovanie �dajov (z dokladov) ObjectDetection
ObjectRotationAngle Rozpoznanie uhla oto�ena rozpoznan�ho objektu ObjectDetection
FaceRecognition Rozpoznanie tv�re ObjectDetection
FaceExtraction Extrakcia obr�zka tv�re - Pripravujeme ObjectDetection, FaceRecognition
ImageBlurDetection Rozpoznanie rozmazanosti obr�zka - Pripravujeme -
Trieda (ProcessedObjectFile)

Atrib�t D�tov� typ Opis
PageNo int? Ak bol vstupn�m obrazov�m dokumentom viacstranov� dokument, t�to hodnota ozna�uje, na ktorej strane bol objekt rozpoznan�
DetectedObjects List<DetectedObjectExtended> Zoznam rozpoznan�ch objektov
Trieda (DetectedObjectExtended)

Atrib�t D�tov� typ Opis
BBox BBox Bounding Box zdetegovan�ho objektu
Category string Kateg�ria rozpoznan�ho objektu
Score double Miera istoty detekcie
RollAngle double? Uhol, pod ktor�m je rozpoznan� objekt oto�en� vzh�adom na obr�zok
DetectedFaces IEnumerable<FaceAnnotationDto> Zoznam rozpoznan�ch tv�r�
IdCardInfo IdCardInfo Rozpoznan� d�ta o dokladoch
IsImageBlurred bool? Ur�uje kvalitu obr�zka.
Trieda (BBox)

Atrib�t D�tov� typ
Xmax double
Xmin double
Ymax double
Ymin double
Trieda (FaceAnnotationDto)

Atrib�t D�tov� typ
BoundingPoly BoundingPolyDto
FdBoundingPoly BoundingPolyDto
Landmarks IEnumerable<LandmarkDto>
RollAngle float
PanAngle float
TiltAngle float
DetectionConfidence float
LandmarkingConfidence float
JoyLikelihood FaceAnnotationLikelihood
SorrowLikelihood FaceAnnotationLikelihood
AngerLikelihood FaceAnnotationLikelihood
SurpriseLikelihood FaceAnnotationLikelihood
UnderExposedLikelihood FaceAnnotationLikelihood
BlurredLikelihood FaceAnnotationLikelihood
HeadwearLikelihood FaceAnnotationLikelihood
DetectedFaceImageBase64 string
Trieda (BoundingPolyDto)

Atrib�t D�tov� typ
Vertices IEnumerable<VertexDto>
NormalizedVertices IEnumerable<NormalizedVertexDto>
Trieda (VertexDto)

Atrib�t D�tov� typ
X int
Y int
Trieda (NormalizedVertexDto)

Atrib�t D�tov� typ
X float
Y float
Trieda (LandmarkDto)

Atrib�t D�tov� typ
Type LandmarkType
Position PositionDto
Enumer�cia (LandmarkType)

Hodnota Opis
UnknownLandmark -
LeftEye -
RightEye -
LeftOfLeftEyebrow -
RightOfLeftEyebrow -
LeftOfRightEyebrow -
RightOfRightEyebrow -
MidpointBetweenEyes -
NoseTip -
UpperLip -
LowerLip -
MouthLeft -
MouthRight -
MouthCenter -
NoseBottomRight -
NoseBottomLeft -
NoseBottomCenter -
LeftEyeTopBoundary -
LeftEyeRightCorner -
LeftEyeBottomBoundary -
LeftEyeLeftCorner -
RightEyeTopBoundary -
RightEyeRightCorner -
RightEyeBottomBoundary -
RightEyeLeftCorner -
LeftEyebrowUpperMidpoint -
RightEyebrowUpperMidpoint -
LeftEarTragion -
RightEarTragion -
LeftEyePupil -
RightEyePupil -
ForeheadGlabella -
ChinGnathion -
ChinLeftGonion -
ChinRightGonion -
LeftCheekCenter -
RightCheekCenter -
Trieda (PositionDto)

Atrib�t D�tov� typ Opis
X float -
Y float -
Z float -
Enumer�cia (FaceAnnotationLikelihood)

Hodnota Opis
Unknown -
VeryUnlikely -
Unlikely -
Possible -
Likely -
VeryLikely -
Trieda (IdCardInfo)

Atrib�t D�tov� typ Opis
NationalIdCardFrontInfo NationalIdCardFrontInfo -
NationalIdCardBackInfo NationalIdCardBackInfo -
DriversLicenseFrontInfo DriversLicenseFrontInfo -
DriversLicenseBackInfo DriversLicenseBackInfo -
SmallTechnicalLicenseBackInfo SmallTechnicalLicenseBackInfo -
SmallTechnicalLicenseFrontInfo SmallTechnicalLicenseFrontInfo -
PassportInfo PassportInfo -
CombinedExtractedInfo Dictionary<string, List<object>> -
WasCardLostOrStolen bool? -
Trieda (NationalIdCardFrontInfo)

Atrib�t D�tov� typ Opis
FirstName string -
LastName string -
Gender Gender -
IdNumber string -
Nationality string -
BirthNumber string -
IssuedBy string -
IssuedDate DateTime? -
DateOfBirth DateTime? -
ExpiryDate DateTime? -
Enumer�cia (Gender)

Hodnota Opis
Male -
Female -
Trieda (NationalIdCardBackInfo)

Atrib�t D�tov� typ Opis
Address string -
StreetName string -
City string -
StreetNumber string -
PostalCode string -
CountryCode string -
MaidenName string -
PlaceOfBirth string -
Title string -
BloodType string -
Trieda (DriversLicenseFrontInfo)

Atrib�t D�tov� typ Opis
FirstName string -
LastName string -
DateOfBirth DateTime? -
PlaceOfBirth string -
IdNo string -
ValidFrom DateTime? -
ValidUntil DateTime? -
LicenseAllowedCategories List<string> -
Trieda (DriversLicenseBackInfo)

Atrib�t D�tov� typ Opis
LicenseAllowedCategories List<string> -
Trieda (SmallTechnicalLicenseFrontInfo)

Atrib�t D�tov� typ Opis
LicensePlate string -
Owner string -
Address string -
VIN string -
IdNo string -
IdNumber string -
StreetName string -
City string -
StreetNumber string -
PostalCode string -
FirstName string -
LastName string -
CompanyName string -
CountryCode string -
Trieda (SmallTechnicalLicenseBackInfo)

Atrib�t D�tov� typ Opis
Manufacturer string -
Variant string -
Model string -
VIN string -
LargestWeight string -
OperationalWeight string -
ValidUntil DateTime? -
Category string -
TypeNumber string -
LargestTrailerTowingWeightO1Kg int? -
LargestTrailerTowingWeightO2Kg int? -
EngineVolume string -
EnginePerformance string -
FuelType string -
Paint string -
NumOfSeats int? -
MaxSpeed int? -
Trieda (PassportInfo)

Atrib�t D�tov� typ Opis
IssuedBy string -
BirthNumber string -
IssuedDate DateTime? -
IdNumber string -
PlaceOfBirth string -
FirstName string -
LastName string -
ExpiryDate DateTime? -
DateOfBirth DateTime? -
CountryCode string -
Type string -
Gender Gender? -
Nationality string -
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

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
3.3.2 974 3/21/2024
1.1.1 234 11/29/2023 1.1.1 is deprecated because it is no longer maintained.