api->SetVariable("tessedit_ocr_engine_mode", "0"); gives the same exact results as api->SetVariable("tessedit_ocr_engine_mode", "1");
are there additional steps that need to be taken to set up cube mode? I am just using it on english text so I haven't done any training of my own for either mode.
int value123221;
api->GetIntVariable("tessedit_ocr_engine_mode", &value123221);
std::cout << value123221 << std::endl;
std::cout << "Val1" << std::endl;
api->SetVariable("tessedit_ocr_engine_mode", "3");
api->GetIntVariable("tessedit_ocr_engine_mode", &value123221);
std::cout << value123221<< std::endl;
std::cout << "Val2" << std::endl;
The output from this is:
0
Val1
0
Val2
This means that the setvariable function does not appear to be working for me ... no idea why though.
--
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/585a4d35-d485-497d-9b3e-ef56cf831961%40googlegroups.com.