An optimized parallel codebook algorithm for CPU and GPU platforms achieves real-time background subtraction speeds up to 370 ...