A new social media filter has been launched to prevent users from receiving unsolicited naked pictures.
On Friday the plugin – called Safe DM – which blocks and deletes pictures of penises sent via direct message became available to Twitter users.
Developer Kelsey Bressler came up with the idea after she received an unwanted nude picture from a man.
Ms Bressler said social media companies could do more to protect users from cyberflashing.
Safe DM is in the early stages of talks to add the filter to another major platform, Ms Bressler told the BBC.
“We would like to roll this out on other social media platforms and are discussing where to go next.”
To develop the artificial intelligence, Ms Bressler put out a request in September for the public to send her pictures of penises.
“I am testing a filter that is under development which will automatically detect dick pics in DMs and handle them on behalf of the user,” she posted on Twitter.
Over 4,000 pictures were sent in. The Safe DM team claims the filter works 99% of the time.
A test by Buzzfeed News concluded the software was highly accurate when it came to blocking and deleting pictures of penises. But there is a lag time of several minutes.
Users who want to use Safe DM need to add a plugin to their Twitter account and permit it to access direct messages.
The software scans users’ messages for images of penises. If it detects one it sends a reply to both parties letting them know the message was inappropriate and has been deleted.
Ms Bressler said the AI only looks for the unwanted images and does not read the text of a message.