Browse Source

Merge pull request #360 from gustafsson/typo_whiltelist

whiltelist -> whitelist
pull/361/head
jeromewu 5 years ago committed by GitHub
parent
commit
a97e2dad98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/index.d.ts
  2. 2
      src/worker-script/constants/defaultParams.js

2
src/index.d.ts vendored

@ -37,7 +37,7 @@ declare namespace Tesseract { @@ -37,7 +37,7 @@ declare namespace Tesseract {
interface WorkerParams {
tessedit_ocr_engine_mode: OEM
tessedit_pageseg_mode: PSM
tessedit_char_whiltelist: string
tessedit_char_whitelist: string
tessjs_create_hocr: string
tessjs_create_tsv: string
tessjs_create_box: string

2
src/worker-script/constants/defaultParams.js

@ -5,7 +5,7 @@ const PSM = require('../../constants/PSM'); @@ -5,7 +5,7 @@ const PSM = require('../../constants/PSM');
module.exports = {
tessedit_pageseg_mode: PSM.SINGLE_BLOCK,
tessedit_char_whiltelist: '',
tessedit_char_whitelist: '',
tessjs_create_hocr: '1',
tessjs_create_tsv: '1',
tessjs_create_box: '0',

Loading…
Cancel
Save