Skip to content
/ Labelr Public

Labelr is a tool for batch authoring scientific images for web databases based off of the Atlas of Florida Plants image standards.

License

Notifications You must be signed in to change notification settings

Struma/Labelr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Labelr

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.

example_imgs example_imgs

Fig 1. The above images are generated from this script.

How to install

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

AOFP Image Labeling Guidlines

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
    1. 750-650 for landscape
    2. 650-550 for square
    3. 550-450 for portrait
    4. 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

Script Utility goals/asperations

  • 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

About

Labelr is a tool for batch authoring scientific images for web databases based off of the Atlas of Florida Plants image standards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages