Acquiring images from cameras and scanners