How to implement Tesseract to run with project in Visual Studio 2010

前端 未结 3 1484
无人及你
无人及你 2020-12-03 04:12

I have a C++ project in Visual Studio 2010 and wish to use OCR. I came across many \"tutorials\" for Tesseract but sadly, all I got was a headache and wasted time.

I

3条回答
  •  自闭症患者
    2020-12-03 04:31

    It has been a lot since the last reply but it may be help to others;

    1. I think you must also add "liblept168.lib" and "liblept168d.lib" to Additional Dependencies
    2. Add "liblept168.dll" and "liblept168d.dll" to the destination of your exe.
    3. Add #include to your code.

    (This answer must be a comment to Bruce's answer. Sorry for confusion. )

提交回复
热议问题