start to write the algorithm for scanning a sample and camera has a new function.