Last active
June 15, 2024 07:58
-
-
Save dacr/1d7a717cde318bc011755d810629c79f to your computer and use it in GitHub Desktop.
extract text from a photo / published by https://github.com/dacr/code-examples-manager #94a20658-f287-42cd-8410-6ecf90b7c661/c3913319385a198863b668b90ec80daf386e87a8
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 | |
''; | |
} | |
View raw
(Sorry about that, but we can’t show files that are this big right now.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment