Page MenuHomePhabricator

Tesseract OCR: Allow saving "psm" parameter option
Open, Needs TriagePublicFeature

Description

Hello @Samwilson , I'm discovering https://ocr.wmcloud.org and love it. My document needs an advanced option, namely the Page Segmentation Mode should be <code>psm=4</code> ''Assume a single column of text of variable sizes.'' But the Wikimedia OCR extension shows me no way to *save* advanced options, so I have to go back and forth between my wikisource.org page + editor and the external ocr.wmcloud.org advanced OCR system.

Is there a way to "save" my advanced option <code>psm=4</code> in wikisource.org itself ?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper renamed this task from Tesseract OCR : How to save advanced option ? to Tesseract OCR: Allow saving "psm" parameter option.Sep 26 2022, 5:24 PM
Aklapper changed the subtype of this task from "Task" to "Feature Request".

Not at the moment, sorry! But it's definitely a good idea. In T279405 we were talking about adding a dialog window that would make it possible to add whatever extra options are needed. The PSM would go there quite well I think. The selections would be saved to localstorage.

Change 971235 had a related patch set uploaded (by Kolakachi; author: Kolakachi):

[mediawiki/extensions/Wikisource@master] Add more options for ocr engines

https://gerrit.wikimedia.org/r/971235

Change #1013724 had a related patch set uploaded (by Kolakachi; author: Kolakachi):

[mediawiki/extensions/Wikisource@master] Allow saving "psm" parameter option

https://gerrit.wikimedia.org/r/1013724