Update improcessing to return image and num objs