event-based initialization of camera