copy from deprecated Proactive-Learning-On-Scenes