* Do not generate any dataset if the PerceptionCamera is never enabled and no other dataset generation APIs are called. * Fixing style and performance issues