When you take a photo with this feature, a color palette from your photo is sent to Google to find artworks that contain similar colors.
Google won’t use data from your photo for any other purpose and will only store the colors from your photo for the time it takes to search for matches.