CR: Added camera auto focus detection