Skip to content

Repository files navigation

socr-demo.mp4

running

please see example docker-compose and run

$ # ensure db is up and has the correct database
$ docker-compose up -d socr_db
$ docker-compose exec socr_db psql -U socr -c "create database socr"

$ # if database exists, start everything
$ docker-compose up -d
$ docker-compose logs --tail 20 -f main

building from source

requires

  • node
  • npm
  • go (1.19+)

at runtime socr shells out to ffmpeg and tesseract, so both need to be on PATH (e.g. apt install ffmpeg tesseract-ocr tesseract-ocr-eng on debian/ubuntu, apk add ffmpeg tesseract-ocr tesseract-ocr-data-eng on alpine, pacman -S ffmpeg tesseract tesseract-data-eng on arch)

$ go generate ./web/
$ go install ./cmd/socr/socr.go
$ socr

About

screenshot OCR server

Resources

Stars

18 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages