Design and implementation of an image understanding system: DADS