The incident took place in Kanpur Dehat in a factory premises on Thursday where the deceased, identified as Vivek, and Ajay, the accused, shared a room.
SP Kanpur (East), Rajkumar Agarwal said, "They spiked her drink and raped her. A case has been registered under section 328, 342, 363, 376 (d) of IPC and POCSO Act."
Four people have been arrested and efforts are on to ascertain the identities of the key accused, said Raj Kumar Agarwal, Superintendent of Police (East).
The woman gave a written complaint to the Sadar police two days ago in which she said that though the rape incident took place five months ago, the accused posted the video of the incident recently.