Ambient environment analysis by means of perception