Development of a sky imaging system