Gymnasiums, fitness rooms and alike places offer exercise services to citizens, which play positive roles in promoting health and enhancing human immunity. Due to the high metabolic rates during exercises, supplying sufficient ventilation in these places is essential and extremely important especially given the risk of infectious respiratory diseases like COVID-19. Traditional ventilation control methods rely on a single CO
2
sensor (often placed at return air duct), which is often difficult to reflect the human metabolic rates accurately, and thus can hardly control the infection risk instantly. Thus, to ensure a safe and healthy environment in places with high metabolism, a real-time metabolism-based ventilation control method is proposed. A computer vision algorithm is developed to monitor human activities (regarding human motion amplitude and speed) and an artificial neural network is established for metabolic prediction. Case studies show that the proposed metabolism-based ventilation control method can reduce the infection probability down to 4.3-6.3% while saving 13% of energy in comparison with the strategy of fixed-fresh-air ventilation. In the development of healthy and sustainable society, gymnasiums and alike exercise places are essential and the proposed ventilation control method is a promising solution to decrease the risk of COVID-19 while preserving features of energy saving and carbon emission reduction.