A modular system for acquiring image from camera on a schedule