Last active
February 3, 2026 20:20
-
-
Save dacr/cb1a8c949124a575db0bcb993a788469 to your computer and use it in GitHub Desktop.
extract text from an image / published by https://github.com/dacr/code-examples-manager #ae050f30-f03b-4549-93df-b08c6a4de460/2e2e54f451c8c48f9916b33bff6cff61eece231d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs ? import <nixpkgs> {} | |
| }: | |
| pkgs.mkShell { | |
| name = "tesseract-env-shell"; | |
| buildInputs = with pkgs; [ | |
| tesseract | |
| scala-cli | |
| ]; | |
| shellHook = '' | |
| export LD_LIBRARY_PATH=${pkgs.tesseract}/lib | |
| export TESSDATA_PREFIX=${pkgs.tesseract}/share/tessdata | |
| ''; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| �PNG | |