Nowadays buildings need artificial intelligence to achieve the best results in many aspects such as energy efficiency, security and safety, and luxury. Because most of the building’s parts can be controlled automatically, for example, windows, doors, heating, shutters, heat, air conditioning, etc. by using sensors and cameras that can collect the necessary data to process and analyse.