On Thu, Dec 8, 2016 at 3:27 PM, Jeroen Ooms <[email protected]> wrote:

> The only method I can find in the base API to list supported parameters is:
>
>
> api->PrintVariables(stdout);
>
>
> However this prints a text dump which is difficult to read by machines. Is
> there an api to iterate over the supported variables strings and stick them
> into a std::vector<std::string> ?
>
Output is tab separated so it should be easy to read by machines ;-)
On other hand I understand that some developers do not want to use
temporary files... IMO it should be easy to create new function by
modifying ParamUtils::PrintParams[1].

[1]
https://github.com/tesseract-ocr/tesseract/blob/master/ccutil/params.cpp#L179

Zdenko

-- 
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 https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8x7YBkz2kA7DstnykMn7%2B-oVxhf_vvw0rcxF%3DDjAFtrHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to