ocr-dere-result

command module
v0.0.0-...-0a5871c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2022 License: MIT Imports: 6 Imported by: 0

README

OCR Dere Result

デレステの結果画面のキャプチャ画像を食わせて、諸情報をテキスト出力するコマンド。

出力先は複数実装出来る体だけど今のところcsv文字列の標準出力だけ。

Getting started

  • requirements: Google Cloud Vision APIが呼べる
$ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account_key.json
  • configs/coordinates.jsonでOCRしたい領域を指定する
    • リポジトリに含めてあるものはiPad Pro向けに書いてある
  • run
    • $ app /path/to/result1.png /path/to/result2.png

デバッグ情報を出力したいとき

$ app --verbose /path/to/result1.png /path/to/result2.png

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL