[...] when the photo is about to be uploaded to the cloud. If you don't use iCloud Photos, it won't be scanning your photos.
it's scanning ON your device. This means Apple now has the capability to scan and find files on your device. Which means they have opened the pandoras box of over-reaching government requests.