LONDON — “Ted 2” actress Amanda Seyfried is set to star opposite Clive Owen in Andrew Niccol’s sci-fi thriller “Anon.” The film is set to shoot this summer.

Seyfried and Niccol (“The Truman Show”) previously worked together on the director’s 2011 dystopian thriller “In Time,” in which she starred opposite Justin Timberlake. She most recently starred in “Ted 2,” alongside director2star Seth MacFarlane and Mark Wahlberg, and Noah Baumbach’s “While We’re Young,” alongside Adam Driver, Ben Stiller and Naomi Watts. Seyfried is in production on Mark Pellington’s “The Last Word” opposite Shirley MacLaine. Seyfried’s other credits include “Les Miserables,” “Dear John” and “Mamma Mia.”

In “Anon,” Owen plays a detective in the psychological thriller set in a world with no privacy, ignorance or anonymity. All lives are transparent, traceable and recorded by the authorities. It’s the end of crime, it seems. However, when Owen’s character stumbles on a young woman (Seyfried) with no digital footprint and invisible to the police, he discovers it may not be the end of crime but the beginning.

Owen is next starring in Luc Besson’s sci-fi fantasy film “Valerian and the City of a Thousand Planets,” which is shooting. His TV show, Steven Soderbergh’s “The Knick,” recently finished airing its second season on Cinemax.

“Anon” is produced by Oliver Simon and Daniel Baur at K5 Film and Niccol. K5 Media Group is financing. CAA, which arranged the financing, will represent the film’s domestic distribution rights.

K5 recently announced it is producing and selling Jim Jarmusch’s latest “Paterson,” starring Adam Driver (“Star Wars: The Force Awakens”) and Golshifteh Farahani (“About Elly”).