Optical Structure Recognition using OSRA
The docker image is based on this repo: https://github.com/daverona/docker-osra/
cd <backend-folder>
docker build -t <your-image-name> .
docker container run --rm --publish 3000:3000 <your-image-name>
This will run the image in a new container and map the exposed port 3000 to the machine's port 3000.
To not keep the container, --rm
will remove it, after it is stopped.
Endpoint | Description |
---|---|
/api/status | Check, whether server is running |
/api/osra/help | Print osra help |
/api/osra/test | Will run OSRA on a png image of riboflavin and return SMILE |