Pierwsze kroki z IronOCR na Windows
IronOCR to potężna biblioteka OCR dla .NET, zaprojektowana do wyodrębniania tekstu ze skanowanych dokumentów, obrazów, plików PDF i innych. Obsługuje wiele języków i integruje się płynnie z środowiskami programistycznymi Windows opartymi na .NET Framework lub .NET 6, 7 i 8.
Ten przewodnik przeprowadzi Cię przez konfigurację IronOCR na Windows i zrozumienie, które konfiguracje działają najlepiej.
Kompatybilność z Windows
IronOCR obsługuje następujące wersje Windows:
- Windows 11 i Windows 10
- Windows Server 2022 i 2019 – Desktop Experience
- Windows Server 2016 – Desktop Experience
- Windows Server Core – Ograniczone wsparcie
Specyficzna instalacja na Windows
Instalacja NuGet (Zalecana)
Najłatwiejszym i najbardziej niezawodnym sposobem instalacji IronOCR na Windows jest poprzez Menedżer Pakietów NuGet:
Install-Package IronOcr
Ten pakiet zawiera:
- Główny silnik OCR
- Zależności Windows
- Wsparcie pakietów językowych
Możesz również zainstalować dodatkowe pakiety językowe, takie jak arabski, chiński lub niemiecki, używając:
PM > Install-Package IronOcr.Languages.Arabic
PM > Install-Package IronOcr.Languages.German
PM > Install-Package IronOcr.Languages.Arabic
PM > Install-Package IronOcr.Languages.German
Pobranie DLL
Dla instalacji offline lub manualnych, można pobrać skompilowane pliki DLL bezpośrednio:
Dodaj je do swojego projektu, wykonując:
- Rozpakowanie pliku .zip
- Otworzenie projektu w Visual Studio
- Prawym przyciskiem na Zależności > Dodaj Odwołanie > Przeglądaj
- Wybranie wszystkich plików DLL w folderze
Instalator Windows
IronOCR oferuje również Instalator Windows dla deweloperów, którzy wolą instalować biblioteki ręcznie za pomocą plików instalacyjnych. Jest to szczególnie przydatne w środowiskach offline lub wdrożeniach korporacyjnych.
Aby skorzystać z instalatora:
- Uruchom Instalator
- Wypakuj plik ZIP i uruchom wewnętrzny plik wykonywalny. Instalator otworzy się z ekranem umowy licencyjnej.
- Przeczytaj warunki umowy licencyjnej, a następnie zaznacz pole, aby zaakceptować warunki i przejdź dalej, klikając Instaluj.
- Przejrzyj informacje o instalacji. Po przejrzeniu, kliknij Dalej, aby kontynuować.
- Po zakończeniu instalacji kliknij Zakończ, aby sfinalizować instalację.
Instalator zawiera wszystkie wymagane DLL dla silnika OCR i wsparcia językowego, co ułatwia integrację z każdym projektem Windows bez NuGet.
Często Zadawane Pytania
What are the system requirements for using IronOCR on Windows?
IronOCR supports Windows 11, Windows 10, Windows Server 2022 & 2019 with Desktop Experience, and Windows Server 2016 with Desktop Experience. It offers limited support for Windows Server Core due to the reliance on System.Drawing components.
Jak zainstalować IronOCR za pomocą NuGet?
You can install IronOCR via the NuGet Package Manager by searching for the 'IronOcr' package. This is the recommended method for integrating IronOCR into your Windows projects.
Is it possible to add additional language support in IronOCR?
Yes, you can add additional language support by installing language-specific packages from NuGet, such as IronOcr.Languages.Arabic or IronOcr.Languages.German.
Can IronOCR be installed manually without using NuGet?
Yes, IronOCR can be installed manually by downloading the compiled DLLs from IronOCR.zip and adding them to your project through Visual Studio's Add Reference feature.
What is the process for installing IronOCR using the Windows Installer?
To install IronOCR using the Windows Installer, download the IronOcrInstaller.zip, extract it, run the executable, accept the license agreement, and follow the installation prompts.
Does IronOCR support offline installations?
Yes, IronOCR supports offline installations through both the downloadable DLLs and the Windows Installer, making it suitable for environments without internet access.
What components are included in the IronOCR package?
The IronOCR package includes the core OCR engine, necessary Windows dependencies, and language pack support for multiple languages.
How do I integrate downloaded IronOCR DLLs into my project?
To integrate downloaded DLLs, extract IronOCR.zip, open your project in Visual Studio, right-click on Dependencies, choose Add Reference, and browse to select all DLL files from the extracted folder.
Can IronOCR be used in .NET 6, 7, or 8 projects?
Yes, IronOCR integrates seamlessly with .NET Framework as well as .NET 6, 7, and 8, making it versatile for different development environments.
Why might some Windows Server environments have limited support for IronOCR?
Windows Server Core environments have limited support because IronOCR relies on System.Drawing and related graphics components that are not fully available in stripped-down Core or Nano environments.

