zoukankan      html  css  js  c++  java
  • [Tesseract Help]

    Usage:
    tesseract --help | --help-psm | --help-oem | --version
    tesseract --list-langs [--tessdata-dir PATH]
    tesseract --print-parameters [options...] [configfile...]
    tesseract imagename|stdin outputbase|stdout [options...] [configfile...]

    OCR options:
    --tessdata-dir PATH Specify the location of tessdata path.
    --user-words PATH Specify the location of user words file.
    --user-patterns PATH Specify the location of user patterns file.
    -l LANG[+LANG] Specify language(s) used for OCR.
    -c VAR=VALUE Set value for config variables.
    Multiple -c arguments are allowed.
    --psm NUM Specify page segmentation mode.
    --oem NUM Specify OCR Engine mode.
    NOTE: These options must occur before any configfile.

    Page segmentation modes:
    0 Orientation and script detection (OSD) only.
    1 Automatic page segmentation with OSD.
    2 Automatic page segmentation, but no OSD, or OCR.
    3 Fully automatic page segmentation, but no OSD. (Default)
    4 Assume a single column of text of variable sizes.
    5 Assume a single uniform block of vertically aligned text.
    6 Assume a single uniform block of text.
    7 Treat the image as a single text line.
    8 Treat the image as a single word.
    9 Treat the image as a single word in a circle.
    10 Treat the image as a single character.
    11 Sparse text. Find as much text as possible in no particular order.
    12 Sparse text with OSD.
    13 Raw line. Treat the image as a single text line,

    翻译:
    
    0 定向脚本监测(OSD)
    
    1 使用OSD自动分页
    
    2 自动分页,但是不使用OSD或OCR(Optical Character Recognition,光学字符识别)
    
    3 全自动分页,但是没有使用OSD(默认)
    
    4 假设可变大小的一个文本列。
    
    5 假设垂直对齐文本的单个统一块。
    
    6 假设一个统一的文本块。
    
    7 将图像视为单个文本行。
    
    8 将图像视为单个词。
    
    9 将图像视为圆中的单个词。
    
    10 将图像视为单个字符


    bypassing hacks that are Tesseract-specific.
    OCR Engine modes:
    0 Original Tesseract only.
    1 Cube only.
    2 Tesseract + cube.
    3 Default, based on what is available.

    Single options:
    -h, --help Show this help message.
    --help-psm Show page segmentation modes.
    --help-oem Show OCR Engine modes.
    -v, --version Show version information.
    --list-langs List available languages for tesseract engine.
    --print-parameters Print tesseract parameters to stdout.

  • 相关阅读:
    centos下修改ip
    在sql2008的实例 中 编写存储过程 读取 版本为sql2005 的实例 中的某个数据库里的数据
    解决javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure报错
    Micronaut事务管理
    [make] 第二章 makefile 总述
    [make] 第一章 make 介绍
    [other] AutoHotKey.ahk
    2021年11月国产数据库大事记墨天轮
    风云再起之国产数据库风云榜2021年12月
    2021年12月墨天轮国产数据库排行榜: openGauss节节攀升拿下榜眼,GaussDB与TDSQL你争我夺各进一位
  • 原文地址:https://www.cnblogs.com/shanlinghan/p/12404089.html
Copyright © 2011-2022 走看看