Further Detail:

        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.*

On Thursday, September 3, 2015 at 12:04:29 PM UTC-7, [email protected] 
wrote:
>
> 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.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/5078b2f7-9027-47d6-b147-5ffa8d741d3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to