add camera detection patch