Artificial Intelligence based monitoring system for historical building preservation