Table of Contents
birdimages.py: A Python object for the catalog
class ImageCatalog: Catalog object
ImageCatalog.addOriginal(): Add a new catalog entry
ImageCatalog.getOriginal(): Retrieve an original by catalog number
ImageCatalog.genOriginals(): Generate all catalog entries
ImageCatalog.genAb6(): Generate all entries with a given bird code
ImageCatalog.readFile(): Read an XML file
class Original: One catalog entry
Original.readNode(): Build a catalog entry from an
childText(): Get text from a child node
nodeText(): Get text from an element
cattest: A test driver for
My collection of bird images runs into the thousands. I'd like to be able to manage it and be able to retrieve images by bird type, locality, time period, and such constraints.
Scanning an image in a proper scanner takes several minutes. I want to avoid wasting time scanning poor photos of species for which I already have better shots.