New AI-powered early detection system helps policymakers in South Africa plan public health measures