Commit including code for lens detection.x