A Florida woman who brought her golden doodle to a...

An NYPD officer injured outside the Marcy Houses is loaded into an ambulance.

Roving, cop-hating mobs erupted in violence, taunts and gunfire in Brooklyn overnight into Sunday, leaving three officers with minor injuries.

At least some of the injuries were caused by “air mail,” objects thrown down at cops from rooftops, police at the scene in Bedford-Stuyvesant told The Post.

By early Sunday, 11 people had been arrested on charges of disorderly conduct.

The violence came after a series of water dousing attacks on NYPD officers throughout the city this summer.

“Straight up cowards!” one man in the crowd there shouted at cops at just after midnight. “You don’t know how to do anything you f–king coward!”One of the cops injured Saturday night had to be hoisted onto a gurney by medics, who rushed him from the sidewalk outside Marcy Houses at around 11:10 p.m.

At least six or seven gunshots rang out from a rooftop of the housing project shortly afterward, causing no injuries but sending scores of cops running toward the gunfire.

By 12:30 a.m. on Sunday, small roving bands of angry residents were still taunting police officers in the surrounding blocks.

Anger may have been stoked by cops earlier using pepper spray to disperse crowds who were barbecuing and picnicking as part of a “Marcy Day” celebration, residents said.

The after-effect of the pepper-spraying was captured on video posted to Instagram. It shows angry residents trying to flush the chemicals from their faces and skin with milk.

“Everyone was just having their fun, no gang-banging… everyone sitting around, enjoying Marcy Day,” said a woman who lives in Marcy Houses.

“Everyone having cookouts and stuff,” said the woman, who asked not to be named.

Cops “just started pepper spraying,” she claimed.