Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sentriz/socr

screenshot OCR server
https://github.com/sentriz/socr

Last synced: 21 days ago
JSON representation

screenshot OCR server

Awesome Lists containing this project

README

        

![](.github/socr.png?v=2)

## running

please see example [docker-compose](./docker-compose.yml) and run

```shell
$ # 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+)
- ffmpeg
- libtesseract-dev
- libleptonica-dev

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