Anpr.Sdk 1.0.1

dotnet add package Anpr.Sdk --version 1.0.1
                    
NuGet\Install-Package Anpr.Sdk -Version 1.0.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="Anpr.Sdk" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anpr.Sdk" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Anpr.Sdk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Anpr.Sdk --version 1.0.1
                    
#r "nuget: Anpr.Sdk, 1.0.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.
#:package Anpr.Sdk@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Anpr.Sdk&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Anpr.Sdk&version=1.0.1
                    
Install as a Cake Tool

Anpr.Sdk

CPU-only Türk plaka tanıma (ANPR) çalışma zamanı — otopark yazılımına (PMS) doğrudan gömülmek için. RTSP kameradan kareyi çeker, plakayı tespit + OCR eder, çok-kareli oylama + TR gramer kısıtlaması + varyant bastırma uygular ve tek bir C# olayı olarak plaka yayınlar. GPU gerektirmez; otopark ofis PC'lerinde çalışacak şekilde tasarlanmıştır.

Modeller (dedektör + Erzurum saha fine-tune OCR + rektifikasyon + SR) pakete gömülüdür ve tüketicinin çıktı dizinine models/ olarak kopyalanır — ekstra dosya taşımak gerekmez.

Gereksinimler

  • .NET 8.0+ (x64 / arm64)
  • ffmpeg (PATH'te ya da options.Ffmpeg.Path) — RTSP + HEVC çözer

Hızlı başlangıç

using Anpr.Sdk;
using Anpr.Sdk.Configuration;

var runtime = new AnprRuntime(new AnprServiceOptions {
    Cameras = {
        new CameraOptions { Id = "giris", Name = "Giriş",
                            RtspUrl = "rtsp://kullanici:sifre@ip:554/Streaming/Channels/101" },
        new CameraOptions { Id = "cikis", Name = "Çıkış", RtspUrl = "rtsp://..." },
    }
}, loggerFactory);   // ILoggerFactory opsiyonel

runtime.PlateDetected += e => {
    if (e.Scope != "roi") return;               // ROI dışı "gözlem" okumaları karar üretmez
    if (e.LowConfidence) OperatorOnayinaDusur(e); // güven < eşik → manuel onay
    else PlakaKaydet(e.PlateCompact, e.Timestamp, e.CameraId);
    // e.EvidencePath  -> plaka kırpıntısı JPEG (evidence/…)
    // e.FramePath     -> aracın da göründüğü TAM KARE JPEG (son okunan aracı görselleme)
};

await runtime.StartAsync();
// … uygulama ömrü boyunca çalışır …
await runtime.StopAsync();

Olay sözleşmesi (PlateEvent)

EventId (idempotency), Plate / PlateCompact, Confidence / OcrConfidence, LowConfidence (operatör onayı bayrağı), Candidates (top-K aday), Scope (roi/gozlem), EvidencePath (plaka kırpıntısı), FramePath (tam kare — araç görünür).

Notlar

  • Web/panel bu pakette YOKTUR (yalnız motor + orkestrasyon). Canlı izleme paneli ayrı serviste kalır.
  • Kameralara yalnız salt-okuma RTSP erişimi gerekir; kamera ayarları değiştirilmez.
  • KVKK: kanıt kırpıntıları/tam kareler evidence/ altına yazılır; saklama süresi ve adet sınırı ayarlanabilir.

Sürüm notları ve ayrıntılı entegrasyon: proje deposundaki docs/entegrasyon-kilavuzu.md.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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.0.1 122 7/14/2026
1.0.0 111 7/13/2026