Now at to low temperature the camera GUI does not close.
upgrading the scanning a sample function