Skip to content

Commit

Permalink
fix: 适当增大了文本便于识别
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Apr 28, 2022
1 parent 4032b0e commit 483d68b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/core/ocr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ export class OCR {
/** 父元素的内边距 */
padding: '4px',
/** 字体大小 */
fontSize: '32px',
fontSize: '48px',
/** 字体高 */
lineHeight: '50px',
lineHeight: '64px',
/** 文字间距 */
letterSpacing: '8px'
letterSpacing: '12px'
}

constructor(options: Partial<Tesseract.WorkerOptions> = {}) {
Expand Down

0 comments on commit 483d68b

Please sign in to comment.