University trains AI to analyse cancer images