My best guess as an AI engineer is that the AI is to detect the difference between cars that are parked vs cars on the road that are stopping at a light and then take the picture at the right time.
I don’t think the article says the bus drivers initiate the photos — presumably SEPTA would rather have drivers drive than framing the perfect shot — so it makes sense to have AI fit in there.