Using a database of over 3000 images of opal in various states—within rock walls, loose, polished, and set in jewellery—the model can detect opal in diverse situations with high accuracy.