Browse our Products

Aspose.OCR for .NET 24.3.0 - Release Notes

Deprecation warning

What was changed

KeySummaryCategory
OCRNET‑801The library can now extract texts in 133 languages and automatically detect Extended Latin and Cyrillic texts without specifying the language.Enhancement
OCRNET‑801Some legacy language codes were deprecated. See details in Deprecated APIs section.Enhancement

Public API changes and backwards compatibility

This section lists all public API changes introduced in Aspose.OCR for .NET 24.3.0 that may affect the code of existing applications.

Added public APIs:

No changes.

Updated public APIs:

The following public APIs have been introduced in this release:

Aspose.OCR.Language

Aspose.OCR for .NET greatly expands the number of languages supported. We have added a total of 135 languages based on Latin, Cyrillic, Chinese and Indic scripts:

ValueAlphabet
Aspose.OCR.Language.ExtLatinAll supported Latin characters and diacritics (auto-detect)
Aspose.OCR.Language.CyrillicAll supported Cyrillic characters (auto-detect)
Aspose.OCR.Language.AfrAfrikaans
Aspose.OCR.Language.AlnAlbanian
Aspose.OCR.Language.AwaAwadhi
Aspose.OCR.Language.AzbAzerbaijani (Azeri)
Aspose.OCR.Language.BclBikol
Aspose.OCR.Language.BelBelarusan (Belorussian)
Aspose.OCR.Language.BemBemba (Chibemba)
Aspose.OCR.Language.BewBetawi
Aspose.OCR.Language.BgcHaryanvi
Aspose.OCR.Language.BhoBhojpuri
Aspose.OCR.Language.BhrMalagasy
Aspose.OCR.Language.BjjKanauji
Aspose.OCR.Language.BosBosnian
Aspose.OCR.Language.BulBulgarian
Aspose.OCR.Language.CatCatalan
Aspose.OCR.Language.CcxZhuang
Aspose.OCR.Language.CdoMin Dong
Aspose.OCR.Language.CebCebuano
Aspose.OCR.Language.CesCzech
Aspose.OCR.Language.CheChechen
Aspose.OCR.Language.CmnMandarin (Chinese)
Aspose.OCR.Language.CpxPu-Xian
Aspose.OCR.Language.DanDanish
Aspose.OCR.Language.DeuGerman
Aspose.OCR.Language.DhdDhundari
Aspose.OCR.Language.DiqDimli
Aspose.OCR.Language.DocDong
Aspose.OCR.Language.EngEnglish
Aspose.OCR.Language.EstEstonian
Aspose.OCR.Language.FinFinnish
Aspose.OCR.Language.FraFrench
Aspose.OCR.Language.GanGan
Aspose.OCR.Language.GaxOromo
Aspose.OCR.Language.GbmGarhwali
Aspose.OCR.Language.GlgGalician
Aspose.OCR.Language.GlkGilaki
Aspose.OCR.Language.GuzGusii
Aspose.OCR.Language.HakHakka
Aspose.OCR.Language.HauHausa
Aspose.OCR.Language.HbsSerbo-Croatian (Latin)
Aspose.OCR.Language.HilHiligaynon
Aspose.OCR.Language.HinHindi
Aspose.OCR.Language.HmnHmong
Aspose.OCR.Language.HneChattisgarhi (Laria, Khaltahi)
Aspose.OCR.Language.HrvCroatian
Aspose.OCR.Language.HsnXiang
Aspose.OCR.Language.HunHungarian (Magyar)
Aspose.OCR.Language.IloIlocano
Aspose.OCR.Language.IndIndonesian
Aspose.OCR.Language.ItaItalian
Aspose.OCR.Language.KazKazakh
Aspose.OCR.Language.KbdKabardian
Aspose.OCR.Language.KfyKumauni
Aspose.OCR.Language.KinRwanda
Aspose.OCR.Language.KlnNandi
Aspose.OCR.Language.KmrKurdish (Kurmanji)
Aspose.OCR.Language.KncKanuri
Aspose.OCR.Language.KnnKonkani
Aspose.OCR.Language.KonKikongo
Aspose.OCR.Language.LatinLatin
Aspose.OCR.Language.LavLatvian
Aspose.OCR.Language.LitLithuanian
Aspose.OCR.Language.LmnLamani (Lambadi)
Aspose.OCR.Language.LncOccitan
Aspose.OCR.Language.LuoLuo
Aspose.OCR.Language.MagMagahi
Aspose.OCR.Language.MaiMaithili
Aspose.OCR.Language.MakMakassar (Makasar)
Aspose.OCR.Language.MarMarathi
Aspose.OCR.Language.MerMeru
Aspose.OCR.Language.MinMinangkabau
Aspose.OCR.Language.MlyMalay (Melayu)
Aspose.OCR.Language.MnpMin Bei
Aspose.OCR.Language.MtqMuong
Aspose.OCR.Language.MtrMewari
Aspose.OCR.Language.MuiMusi
Aspose.OCR.Language.MupMalvi
Aspose.OCR.Language.NanMin Nan
Aspose.OCR.Language.NblNdebele
Aspose.OCR.Language.NdsLow German
Aspose.OCR.Language.NepNepali
Aspose.OCR.Language.NldDutch
Aspose.OCR.Language.NorNorwegian
Aspose.OCR.Language.NsoSotho (Northern)
Aspose.OCR.Language.NyaChichewa (Chewa, Nyanja)
Aspose.OCR.Language.PagPangasinan
Aspose.OCR.Language.PamKapampangan
Aspose.OCR.Language.PccBouyei (Buyi, Giáy)
Aspose.OCR.Language.PlmPalembang
Aspose.OCR.Language.PolPolish
Aspose.OCR.Language.PorPortuguese
Aspose.OCR.Language.QucK’iche'
Aspose.OCR.Language.QxaQuechua
Aspose.OCR.Language.RjbRajbanshi
Aspose.OCR.Language.RonRomanian
Aspose.OCR.Language.RufLuguru
Aspose.OCR.Language.RusRussian
Aspose.OCR.Language.RwrMarwari
Aspose.OCR.Language.SasSasak
Aspose.OCR.Language.SlkSlovak
Aspose.OCR.Language.SlvSlovene (Slovenian)
Aspose.OCR.Language.SnaShona (Karanga)
Aspose.OCR.Language.SomSomali
Aspose.OCR.Language.SotSotho (Southern)
Aspose.OCR.Language.SpaSpanish
Aspose.OCR.Language.SrpSerbian (Cyrillic)
Aspose.OCR.Language.SrrSerer-Sine
Aspose.OCR.Language.SswSwati (Swazi)
Aspose.OCR.Language.SukSukuma
Aspose.OCR.Language.SunSundanese (Sunda)
Aspose.OCR.Language.SweSwedish
Aspose.OCR.Language.SwhSwahili
Aspose.OCR.Language.TglTagalog (Pilipino)
Aspose.OCR.Language.ToiTonga
Aspose.OCR.Language.TsnTswana
Aspose.OCR.Language.TsoTsonga
Aspose.OCR.Language.TukTurkmen
Aspose.OCR.Language.TumTumbuka
Aspose.OCR.Language.TurTurkish
Aspose.OCR.Language.UkrUkrainian
Aspose.OCR.Language.UmbUmbundu
Aspose.OCR.Language.VieVietnamese
Aspose.OCR.Language.VmwMakua (Makhuwa)
Aspose.OCR.Language.WalWolaytta
Aspose.OCR.Language.WarWaray-Waray
Aspose.OCR.Language.WbrWagdi
Aspose.OCR.Language.WtmMewati
Aspose.OCR.Language.WuuWu (Changzhou)
Aspose.OCR.Language.XhoXhosa
Aspose.OCR.Language.YaoYao
Aspose.OCR.Language.YorYoruba
Aspose.OCR.Language.YueCantonese
Aspose.OCR.Language.ZulZulu

Removed public APIs:

No changes.

Deprecated APIs

The following public APIs have been marked as deprecated and will be removed in 25.1.0 (January 2025) release:

Aspose.OCR.Language.None

Use Aspose.OCR.Language.ExtLatin to automatically detect any Latin characters and diacritics.

Aspose.OCR.Language.Chi

Use one of the following languages depending on the actual language of the text:

  • Aspose.OCR.Language.Cmn (Mandarin)
  • Aspose.OCR.Language.Wuu (Wu)
  • Aspose.OCR.Language.Yue (Cantonese)
  • Aspose.OCR.Language.Nan (Min Nan)
  • Aspose.OCR.Language.Hsn (Xiang)
  • Aspose.OCR.Language.Hak (Hakka)
  • Aspose.OCR.Language.Gan (Gan)

Aspose.OCR.Language.Cze

Use Aspose.OCR.Language.Ces for recognizing Czech texts.

Aspose.OCR.Language.Dum

Use Aspose.OCR.Language.Nld for recognizing Dutch texts.

Aspose.OCR.Language.Srp_hrv

Use Aspose.OCR.Language.Hbs for recognizing Serbo-Croatian texts (based on Latin alphabet).

Aspose.OCR.Language.Rum

Use Aspose.OCR.Language.Ron for recognizing Romanian texts.

Examples

The code samples below illustrate the changes introduced in this release:

Auto-detect Extended Latin characters

// Initialize Aspose.OCR for .NET recognition API
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
// Add image
Aspose.OCR.OcrInput input = new Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage);
input.Add("source.png");
// Set recognition language
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.ExtLatin;
// Recognize image
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input, recognitionSettings);
Console.WriteLine(results[0].RecognitionText);