Samsung’s new high-end smartphone alerts owners to problems with their photos as soon as they are snapped.
The Galaxy Note 9 uses software to identify if the images are blurry or whether the subject is blinking, among other issues.
The innovation is one of several artificial intelligence-enhanced abilities the handset offers that do not rely on remote computer servers.
Analysts say this should help tackle increasing competition from Huawei.
The Chinese rival made much of its own flagship phone’s machine learning abilities when it launched in March.
The Note 9’s other new features include a stylus that wirelessly communicates with the phone to act as a remote control.
Its display and battery are also bigger than earlier models.
It goes on sale on 24 August.
The basic model will cost £899, while a version with more storage and memory will be £1,099.