Labelr is an interactive script utility for batch authoring scientific images for upload to databases. The standard utility is modeled off of the Atlas of Florida Plants image standards.
Fig 1. The above images are generated from this script.
Install with Pip!
Download this directory to somewhere sensible and get inside.
git clone https://github.com/Struma/Labelr.git ~/.labelr
cd ~/.labelr
Install with pip3
pip3 install .
Debian/Ubuntu Pip puts the scripts into ~/.local/bin/ on these machines, but by default you cannot access it readily beacuse ~/.local/bin/ is not in PATH.
I set the variable in my ~/.bashrc file via
echo "export PATH=$PATH:$HOME/.local/bin/" >> ~/.bashrc
The file that outlines the AOFP standards are available -> here <- and are summarized as follows.
- Images must be 72ppi Jpegs
- Aspect Ratios must conform to these pixel dimesions
- 750-650 for landscape
- 650-550 for square
- 550-450 for portrait
- 400-300 for slender this format is too small and superflous e*
- Text is to be formatted in Times New Roman, Bold italics, and Pure yellow 0xFFFF00
- Taxon name ex.(Genus species) in 24pt font
- Author name ex.(Photo by John Doe) in 14pt font
- Name of final image file formatted as ex.(genus_species.jpg) in snake case
- Interactive or batch processing power
- Support for Information Interchange Model (IPTC) Metada labeling
- Automatic archiving
- output logging
- folder scanning
- file conversion
- comply with PEP 8

