Amazon must face a class-action lawsuit on behalf of potentially hundreds of thousands of Amazon Photos users over allegations that it collected facial biometric data from their photographs without their consent.

The lawsuit claims Amazon violated the Illinois Biometric Information Privacy Act (BIPA) by allegedly not properly notifying users of its Amazon Photos service and obtaining their consent before allegedly scanning their faces imaged in photos uploaded to the platform.

The lawsuit claims that Amazon Photos uses its image recognition feature to collect facial biometric data without obtaining users’ written consent.

However, the judge ruled that this detail did not prevent the plaintiffs from pursuing a class-action lawsuit against Amazon Photos on behalf of other users.

The lawsuit comes months after Apple was told it must face a lawsuit seeking up to $32.5 billion over claims its iPhone Photos app illegally collected users’ biometric information.