Large-scale numerical simulations of star formation put to the test: Comparing synthetic images and actual observations for statistical samples of protostars