How an AI inspection system made plenty of places more safe