added extraction of models from images