Real-time processing of time-lapse videos