Database with subclasses and image analysis implemented