Artificial intelligence in scene rebuilding