Gun-wielding pair strikes in early morning S.F. home invasion

In this file photo, a police cruiser sits at the scene of a police shooting in San Leandro Friday, Oct. 24, 2015. In this file photo, a police cruiser sits at the scene of a police shooting in San Leandro Friday, Oct. 24, 2015. Photo: Kale Williams Photo: Kale Williams Image 1 of / 1 Caption Close Gun-wielding pair strikes in early morning S.F. home invasion 1 / 1 Back to Gallery

A San Francisco couple was lucky to have only lost a purse, some cash and a couple tablets after a home-invasion robbery in which one of the victims woke up with a gun pressed to his forehead Thursday morning, authorities said.

Officers responded to reports of the robbery around 2 a.m. on the 2000 block of Bancroft Avenue near Phelps Street in the Bayview district, said Officer Albie Esparza, a police spokesman.

The victim, identified only as a 41-year-old man, told police he was sleeping in bed with his wife when he woke up to a handgun held to his head by one of two men who had broken into his house.

One of the men instructed the victim to be quiet as he took him to open a locked cabinet in the home, Esparza said.

Having gained access to the cabinet, the robber took out cash, a purse and at least two tablet computers before he and the other man fled the scene, Esparza said.

Police said the men were thought to be between the ages of 20 and 30, but did not release more detailed descriptions.

Esparza encouraged anyone with information about the incident to contact police at (415) 575-4444.

Kale Williams is a San Francisco Chronicle staff writer. E-mail: kwilliams@sfchronicle.com