maybe you unconciously detect them through some instinct. I dont know anything about snakes but maybe you hear them rustling leaves or like Bauh4us says maybe you just know type of places they inhabit. Your conciousness just relates this with danger because you may have learned this when you were really young. Or you have super-snake detecting powers

. Cool ability regardless.