Background of Images

I was reading through the course and it mentions that, in a data centric approach, it is best to keep the background consistent so the model can focus on the object of interest. This is the quote:

“Background: Try to keep the background as uncluttered as possible so the model can focus better on the object of interest.”

From what I have learned in different applications, its good to vary the background because then the model should better differentiate what constitutes the subject. For example, if you watch the synthetic data generation examples from NVIDIA (replicator), you will notice that they are greatly varying the background and lighting, far beyond what would be encountered in the real world. They also intentionally blur the image.

Is there a right approach? These are polar opposite methods.

Maybe it makes sense to keep a consistent background if in the real world application you can control the background, lighting, etc, and that way less data may be required to train the model. But maybe if you can’t control the environment in the real world, it’s better to vary background, lighting, and focus???

Anyone have thoughts on this?

Here’s a video of NVIDIA replicator. A little past half way it shows the varying backgrounds.