Development and commercialization of a railway system that uses AI image analysis to identify the behavior of passengers boarding and alighting, supporting decisions on when to close train doors and notifying train drivers. The system is intended to improve safety and reduce staffing requirements in one-person train operations.