Added camera detection