7 lines
259 B
Bash
Executable File
7 lines
259 B
Bash
Executable File
#!/bin/sh
|
|
# Download the ocrs text recognition model into ./models (or $OCRS_MODELS_DIR).
|
|
set -e
|
|
DIR="${OCRS_MODELS_DIR:-models}"
|
|
mkdir -p "$DIR"
|
|
curl -fL "https://ocrs-models.s3-accelerate.amazonaws.com/text-recognition.onnx" -o "$DIR/text-recognition.onnx"
|