You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

www.jaytaylor.com/tesseract-web/pkg/test-data

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

www.jaytaylor.com/tesseract-web/pkg/test-data

v0.0.0-20170217190512-63e3f712b854
Go
Version published
Created
Source

Tesseract Web

Documentation Build Status Report Card

Supported platforms:

  • Linux
  • Windows
  • Mac OS X / macOs

Requirements

  • Tesseract OCR must be installed and available on the $PATH.

Get it

git clone https://github.com/jaytaylor/tesseract-web
cd tesseract-web
go get -t ./...
make
make install

Run it

tesseract-web -bind 127.0.0.1:8080

Example usage:

Remote URL:

curl -XPOST localhost:8080/v1/tesseract/https://i.imgur.com/14y5P0u.png

Upload image:

curl -XPOST localhost:8080/v1/tesseract -d@path/to/some/image.jpg

Run the tests

make test
# or
go test ./...

or for verbose output:

make test flags=-v
# or
go test -v ./...

About

NAME:
   tesseract-web - Exposes tesseract image OCR as a set of web APIs

USAGE:
   tesseract-web [global options] command [command options] [arguments...]

VERSION:
   0.1.0
built on 2016-10-12 22:54:38 +0000 UTC
git commit 430c047318453fd6983ffa99630341f0526e9cb9

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --install               Install tesseract-web as a system service (default: false)
   --uninstall             Uninstall tesseract-web as a system service (default: false)
   --user value, -u value  Specifies the user to run the tesseract-web system service as (default: "jay")
   --bind value, -b value  Set the web-server bind-address and (optionally) port (default: "0.0.0.0:8080")
   --help, -h              show help (default: false)
   --version, -v           print the version (default: false)

License

MIT

FAQs

Package last updated on 17 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts