logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
mblazejewicz  
#1 Posted : 6 months ago
mblazejewicz

Rank: Newbie

Groups: Registered
Joined: 12/10/2024(UTC)
Posts: 1
Poland

Hello,
I have a problem when i try to do image analysys i keep geeting exception Patagames.Ocr.Exceptions.CantAnalyseLayoutException

using (var ocr = OcrApi.Create())
{
ocr.Init();

ocr.PageSegmentationMode = PageSegMode.PSM_OSD_ONLY;
// Set the image
ocr.SetImage(Bitmap.FromFile(@"C:\ps ocr\90deg.png") as Bitmap);

// Run layout analysis
var iterator = ocr.AnalyseLayout(); // here i get the exception
}


i would like to get information like from command line tesseract version
- tesseract 90.png stdout --psm 0


Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.