Extract information from labels on images of museum specimens.
The text is formatted and placed into named fields using the Darwin Core standard.
You will need the python environment package manager called uv as well as git.
git clone https://github.com/rafelafrance/LabelLlama.git
cd LabelLlama
uv synclmstudiois a wrapper and GUI around thellama.cpplibrary. The GUI is convenient for downloading and running models locally. Note you may run LM-Studio headless withlms daemon`.
Of, course you don't have to run any models locally.
I use local models to OCR text on images of specimens and cleaning LM output some fields.
You can get the LM-Studio GUI and daemon here
lms daemon up
lms server start
lms load my-modelLook at server_llama_cpp.bash to see how I run a local server with llama.cpp.
This is the script that takes an image of a museum specimen and extracts label text directly from that.