A former Northview High School teacher accused of producing child pornography by using AI to manipulate a photo of two former students — one of whom was a minor — has taken a plea deal.