This document summarizes a research paper that presents a new algorithm for detecting foreground objects and moving shadows in surveillance videos. The algorithm uses Gaussian mixture models to learn pixel-based models of cast shadows on background surfaces over time. However, learning pixel-based models can be slow if motion is infrequent. To address this, the algorithm also builds a global shadow model that uses global-level information to help update the local shadow models more quickly. Foreground objects are modeled using nonparametric density estimation of spatial and color information. Finally, background, shadow, and foreground models are combined in a Markov random field energy function that can be efficiently optimized using graph cuts to perform foreground-shadow segmentation. Experimental results demonstrate the effectiveness of the proposed