tesseract icon indicating copy to clipboard operation
tesseract copied to clipboard

Why are X86 and X64 folders automatically generated when I start the program in VS?

Open howzew opened this issue 4 years ago • 2 comments

I installed the latest Tesseract (4.1.1) through nuget, and put the required testsdata, x64 and x86 in a folder called "OCR".

I use "Tesseract.TesseractEnviornment.CustomSearchPath = "OCR";" in the code to set the required components.

The program can run correctly, but the problem is that every time I start the program in VS, it will automatically create x64 and x86 folders in the bin directory, which is very strange.

How can I not automatically generate x64 and x86 folders?

Thank you!

howzew avatar Apr 01 '21 10:04 howzew

It'd be because of the way nuget package is setup. Only solution at the moment would add dll reference and not use nuget.

On Thu, 1 Apr 2021, 21:41 howzew, @.***> wrote:

I installed the latest Tesseract (4.1.1) through nuget, and put the required testsdata, x64 and x86 in a folder called "OCR".

I use "Tesseract.TesseractEnviornment.CustomSearchPath = "OCR";" in the code to set the required components.

The program can run correctly, but the problem is that every time I start the program in VS, it will automatically create x64 and x86 folders in the bin directory, which is very strange.

How can I not automatically generate x64 and x86 folders?

Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/charlesw/tesseract/issues/549, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB7HSCFE5QIBBRFOWBI64DTGREXFANCNFSM42G3BXKA .

charlesw avatar Apr 02 '21 07:04 charlesw

It'd be because of the way nuget package is setup. Only solution at the moment would add dll reference and not use nuget. On Thu, 1 Apr 2021, 21:41 howzew, @.***> wrote: I installed the latest Tesseract (4.1.1) through nuget, and put the required testsdata, x64 and x86 in a folder called "OCR". I use "Tesseract.TesseractEnviornment.CustomSearchPath = "OCR";" in the code to set the required components. The program can run correctly, but the problem is that every time I start the program in VS, it will automatically create x64 and x86 folders in the bin directory, which is very strange. How can I not automatically generate x64 and x86 folders? Thank you! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#549>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB7HSCFE5QIBBRFOWBI64DTGREXFANCNFSM42G3BXKA .

OK,thank you very much!

howzew avatar Apr 02 '21 09:04 howzew