Cognitive technology — or artificial intelligence — is to be harnessed in the fight against melanomas, one of Australia’s most common cancers.