I actually stuck, because I could not execute SW and SW_GUI files.
My tesseract folder contains in screen shot attached.

Dear Zdenko,
Is there any chance we can talk via WhatsApp?
Stuck so bad here in my project...
You gonna save my life :D

вторник, 31 мая 2022 г. в 13:56:32 UTC+7, zdenop: 

> INCLUDEPATH += /usr/include/tesseract
>
> This does not seem correct on windows.
>
> error: tesseract/baseapi.h: No such file or directory
>
> So you have installed tesseract header files?
>
> You did not mention which compiler you used: "*.dll" indicates Visual 
> studio, but what is in "C:\Program Files(x86)\Tesseract-OCR"?
>
> Zdenko
>
>
> po 30. 5. 2022 o 11:19 Fish Money <fishmo...@gmail.com> napísal(a):
>
>> Hello! How can i amend the pro file to make the program work?
>>
>> Googled a lot about QT and Tesseract, could not find a solution yet.
>>
>> QT += core
>> QT -= gui
>>
>> CONFIG += c++11
>>
>> TARGET = openCV
>> CONFIG += console
>> CONFIG -= app_bundle
>>
>> TEMPLATE = app
>> INCLUDEPATH += C:\opencv\release\install\include
>>
>> LIBS += C:\opencv\release\bin\libopencv_core455.dll
>> LIBS += C:\opencv\release\bin\libopencv_highgui455.dll
>> LIBS += C:\opencv\release\bin\libopencv_imgcodecs455.dll
>> LIBS += C:\opencv\release\bin\libopencv_imgproc455.dll
>> LIBS += C:\opencv\release\bin\libopencv_calib3d455.dll
>> LIBS += C:\opencv\release\bin\libopencv_features2d455.dll
>> LIBS += C:\opencv\release\bin\libopencv_video455.dll
>> LIBS += C:\opencv\release\bin\libopencv_videoio455.dll
>> LIBS += -L"(C:\Program Files(x86)\Tesseract-OCR)" -ltesseract
>>
>> INCLUDEPATH += /usr/include/tesseract
>>
>> INCLUDEPATH += C:\Program Files(x86)\Tesseract-OCR)
>>
>> LIBS += C:\Program Files(x86)\Tesseract-OCR)
>>
>> LIBS +=-LC:\Program Files(x86)\Tesseract-OCR)
>> -ltesseract.dll
>> -llept.dll
>>
>> LIBS += -LC:\Qt\opencv_cv2\OPENCV1\build-qt\lib
>> -lopencv_calib3d249d
>> -lopencv_contrib249d
>> -lopencv_core249d
>> -lopencv_features2d249d
>> -lopencv_flann249d
>> -lopencv_gpu249d
>> -lopencv_highgui249d
>> -lopencv_imgproc249d
>> -lopencv_legacy249d
>> -lopencv_ml249d
>> -lopencv_nonfree249d
>> -lopencv_objdetect249d
>> -lopencv_ocl249d
>> -lopencv_photo249d
>> -lopencv_stitching249d
>> -lopencv_superres249d
>> -lopencv_ts249d
>> -lopencv_video249d
>> -lopencv_videostab249d
>>
>> SOURCES += main.cpp
>>
>> DEFINES += QT_DEPRECATED_WARNINGS
>>
>> Errors:
>>
>>
>> still saying D:\PROG\May\Tesseract\main.cpp:1: error: 
>> tesseract/baseapi.h: No such file or directory
>> D:\PROG\May\Tesseract\main.cpp:1:10: fatal error: tesseract/baseapi.h: No 
>> such file or directory
>> 1 | #include <tesseract/baseapi.h>
>> | ^~~~~~~~~~~~~~~~~~~~~
>>
>>
>> Might be incorrect install, because SW file and SW gui could not be 
>> executed.
>>
>> Strongly need advice! 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "tesseract-ocr" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tesseract-oc...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/923f5b9b-def7-4171-9ac6-d342a3a99dc9n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/923f5b9b-def7-4171-9ac6-d342a3a99dc9n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/71657717-96de-4d45-8e8c-68b9470b24f4n%40googlegroups.com.

Reply via email to