1. An apparatus comprising: at least one processor; and at least one memory connected to the at least one processor; wherein the at least one memory stores program instructions that, when executed by the at least one processor, cause the apparatus to: determine based on at least one indicator that a camera connected to the apparatus is in a dark environment; initiate a calibration sequence of a camera in response to determining based on the at least one indicator that the camera connected to the apparatus is in a dark environment; capture, during the calibration sequence, multiple images with the camera with different sets of shooting parameters; cause analysis of the captured images to obtain camera calibration data; and store the camera calibration data in a memory of the apparatus.