load_system_dawg 0
load_freq_dawg 0
load_punc_dawg 0
user_words_suffix pharma-words
tessedit_char_whitelist abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,
language_model_penalty_non_dict_word 0
#include <tesseract/baseapi.h>
#include <leptonica/allheaders.h>
int main(int argc, char *argv[])
{
char *outText;
tesseract::TessBaseAPI *api = new tesseract::TessBaseAPI();
api -> Init("/usr/local/share/","ita");
api -> ReadConfigFile ("pharma");
Pix *image = pixRead (argv[1]);
api -> SetImage (image);
api -> SetSourceResolution(600);
outText = api -> GetUTF8Text();
printf ("OCR output: \n%s", outText);
api -> End();
delete [] outText;
pixDestroy (&image);
return 0;
}
--
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 post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/7dd534f7-3e85-480f-bb81-3d34c7af0c05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/bHlfRbg4Fhs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/20140703213705.GC19831%40manta.lan.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/27ca8616-1f88-4430-af01-fc4c7c71a3d9%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/bHlfRbg4Fhs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8zJMk8FAAhLawxAmOFJGRy8UEvLFPTa9RRcArrhd4v%2Bhg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CACxk%3DWxXiHL51XtMUmYM7WgPkL4nSyHft%3DzjM8OtRKivq_BXyQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yAthpv1CQO4X%2Bhb%3DNCthay7PEQBatmJ%2BUKt4vTwbXHgw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CACxk%3DWyZw_MEiNSuD_SxuZXeJwf03B-yptrQ3AiiX0k12B4cKg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xGRpqnNSJmSMx_6U2OW_CcmKMG8vYtOB4FgGNpuxX6Rw%40mail.gmail.com.