OCRTesseractDoOCR() returning blank result with custom creat
Posted: Tue Nov 04, 2014 4:17 pm
I have created one .traineddata file by following steps given at TrainingTesseract3(https://code.google.com/p/tesseract-ocr ... Tesseract3) .
Inside attachment under "GDPictureOCRIssueWithCustomTraineddataFile\GDPictureOCRIssueWithCustomTraineddataFileTestData\TestData\CustomDictionary" folder you can find custom.traineddata file, but when I am using this custom.traineddata file with OCRTesseractDoOCR() I am getting blank result with the error "actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file ..\ccuti
l\tessdatamanager.cpp, line 48" .
Inside attachment I have provided datafiles which I used to create the custom.traineddata file under "GDPictureOCRIssueWithCustomTraineddataFile\GDPictureOCRIssueWithCustomTraineddataFileTestData\TestData\DataUsedForCreatingCustomDictionary\" folder . I have also provided sample application inside the attachment for this problem. We are using GDPicture.NET 9.
I also found that if I use this created custom.traineddata file with Google Tesseract-ocr (tesseract.exe) it is gives proper result for the input.
What could be problem with OCRTesseractDoOCR()? Am I missing any data file for creating the .traineddata file?
Inside attachment under "GDPictureOCRIssueWithCustomTraineddataFile\GDPictureOCRIssueWithCustomTraineddataFileTestData\TestData\CustomDictionary" folder you can find custom.traineddata file, but when I am using this custom.traineddata file with OCRTesseractDoOCR() I am getting blank result with the error "actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file ..\ccuti
l\tessdatamanager.cpp, line 48" .
Inside attachment I have provided datafiles which I used to create the custom.traineddata file under "GDPictureOCRIssueWithCustomTraineddataFile\GDPictureOCRIssueWithCustomTraineddataFileTestData\TestData\DataUsedForCreatingCustomDictionary\" folder . I have also provided sample application inside the attachment for this problem. We are using GDPicture.NET 9.
I also found that if I use this created custom.traineddata file with Google Tesseract-ocr (tesseract.exe) it is gives proper result for the input.
What could be problem with OCRTesseractDoOCR()? Am I missing any data file for creating the .traineddata file?