Abstract: A sensor module includes at least a camera module and one or more machine learning (ML) inference application-specific integrated circuits (ASICs), which are configured to detect the presence of people in an elevator. The sensor module includes at least one processor, which executes instructions that enable the sensor module to detect, count, and anonymously track one or more persons in an elevator. The sensor module may also sensors, such as an accelerometer and an altimeter, which are used to estimate the kinematic state of the elevator. The camera, ML ASIC(s), sensors, and embedded application enable the sensor device to anonymously monitor the movement of people through a building via the elevator. The ML ASIC(s) allow the sensor module to count occupants in the elevator in near-real time, enabling the sensor to transmit signals for controlling aspects of the elevator system.