Relevant Resources: Multifont OCR-D
FRAT can run in windows under docker.
-
Install Docker Desktop download
-
Install Windows Linux package specifically download and run the MSI file.
-
Run docker by binding the current windows directory to where frat looks for images Powershell:
docker run --network host -v ${pwd}/sample_data:/opt/frat/sample_data anguelos/frat frat -images /opt/frat/sample_data/*cmd:
docker run --network host -v %cd%/sample_data:/opt/frat/sample_data anguelos/fratcmd
Requires Python 3 and Node.js. The JavaScript frontend is authored as ES modules and bundled with esbuild.
make installThis runs npm install && npm run build to bundle the JS, then pip install -e . for the Python package.
To rebuild the JS after editing files under frat/resources/src/:
make build