[ 
https://issues.apache.org/jira/browse/TIKA-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419685#comment-16419685
 ] 

Hudson commented on TIKA-2613:
------------------------------

FAILURE: Integrated in Jenkins build tika-branch-1x #14 (See 
[https://builds.apache.org/job/tika-branch-1x/14/])
Fix for TIKA-2613 contributed by ewanmellor. (tallison: 
[https://github.com/apache/tika/commit/2efe3f97a7df0ac8863b225beb2deb41e99c1e90])
* (edit) 
tika-parsers/src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.java


> Tesseract 4.0 has removed -psm, so Tika must update
> ---------------------------------------------------
>
>                 Key: TIKA-2613
>                 URL: https://issues.apache.org/jira/browse/TIKA-2613
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 1.17
>            Reporter: Ewan Mellor
>            Priority: Major
>             Fix For: 1.18, 2.0.0
>
>
> Tesseract 4.0 (currently in beta-1) has removed the {{\-psm}} flag, in favor 
> of {{\-\-psm}} (with two dashes).
> The {{\-\-psm}} variant was introduced in Nov 2016, so it should be safe to 
> simply switch Tika to use the two-dash variant, even for people still using 
> Tesseract 3.05.
> For reference, the Tesseract cset is:
> {code}
> commit ee201e1f4fa277a4b2ecd751a45d3bf1eba6dfdb
> Author: Stefan Weil <s...@weilnetz.de>
> Date: Sun Mar 25 17:28:33 2018 +0200
> Remove deprecated support for -psm argument (#1419)
> It was replaced by --psm and deprecated in commit 92d981b93.
> Signed-off-by: Stefan Weil <s...@weilnetz.de>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to