The generation of a solution that allows the gross estimate of the number of people who are inside a closed space, allows to comply with restrictions caused by global health emergencies or other situations where it is required to monitor and alert this situation to minimize the risk of contagion or mitigate other consequences that impact the development, operation or constitution of activities, businesses in which there is a high capacity of people. Due to this, a solution based on the internet of things (IoT for its acronym in English) is implemented in which the signals emitted by devices in a wireless network - WiFi Wireless Fidelity are detected and recorded, from the information collected executes a model for the publication of the information captured and calculated. The implemented solution makes use of Machine Learning - Machine Learning to generate the necessary prediction model for estimating the occupation of a specific space in different configurations of concurrence of people, for this an application was built that allows the consultation of the data processed and a dashboard of key indicators that will be useful for entities such as offices, shopping centers, restaurants, bank offices, educational entitie