When a product-search engine matches a photograph of a shoe against millions of catalogue images, or a hospital system ...