This investigation studies the performance of unsupervised learning techniques when detecting the number of cloud layers in infrared sky images using an innovative infrared sky imager mounted on a solar tracker and finds that the sequential hidden Markov model outperformed the detection accuracy of the Bayesian metrics.