A new AI system could help prevent elephant poaching in Malaysia, according to researchers at Cardiff University.