Follow KDKA-TV: Facebook | Twitter

BUFFALO TOWNSHIP (KDKA) — A Butler man is accused of hiding a webcam in his friend’s home without her knowledge.

Derek Krallman, 29, of Butler is accused of setting up a camera to spy on the victim undressing.

KDKA’s Amy Wadas knocked on Krallman’s door Monday afternoon. His mom answered. She said Krallman wasn’t home.

About a week and a half ago, police said Krallman set up the hidden web cam and computer in the victim’s bedroom without her consent at her home on Howes Run Road in Buffalo Township.

The next day, police say, the victim’s child saw the laptop next to the bed. The web cam was on the dresser directed at an area where the victim would change clothes.

In the criminal complaint, police said the victim contacted Krallman and asked him why he did what he did. He responded by saying he did it out of stupidity.

The victim told police she and Krallman are just friends, and she allowed him in her home at the time of the alleged crime.

Last week, police obtained a search warrant and found four videos on the camera. Police said they saw Krallman in the first video as if he was testing the camera and the angle to capture the victim in the room changing. The second video captures the victim changing her clothes.

Krallman is charged with four counts of invasion of privacy.

His preliminary hearing is scheduled for next month.