Sicos1977 / TesseractOCR

A .net library to work with Google's Tesseract
167 stars 21 forks source link

Problem implementing TesseractOCR after installation by nuGet #32

Closed Genko71 closed 1 year ago

Genko71 commented 1 year ago

Hi to all, i'm new in xamarin language, i would like to make an open source application using Tesseract and xamarin forms. I'm new to app development, but I have an idea that I would like to develop using the phone's camera and TesseactOCR.

I've installed by nuGet, the package TesseractOCR in VS 2019, but when i insert the sample code it gives me error reports.

Can you help me?

Thank you in advance.

image

Sicos1977 commented 1 year ago

What is the eror that you are getting?

Genko71 commented 1 year ago

Hi Sicos1977, the error is that, i tried your example but it seems that the package is not there, even if it is installed, as you can see the red underlined code.

Sicos1977 commented 1 year ago

You installed it with the nuget package manager that is inside Visual Studio?

Sicos1977 commented 1 year ago

What I see in your screenshots is that you are missing using statements that is probably the reason why it is not working. Try to add this using statement;

using TesseractOCR;

Just put it below using Xamarin.Form;

Genko71 commented 1 year ago

Hi, i've tried but it gives me this error : The type or namespace name 'type/namespace' could not be found (are you missing a using directive or an assembly reference?) Yes, i've installed it with the nuget package manager that is inside Visual Studio It appears to have no assembly under it.

image