The homeless woman accused of spitting on Upper East Side residents — including a 7-year-old child — flipped out in Manhattan court Monday when she saw news photographers aiming their lenses at her.

Before Hilda Barrion’s case was even called, she stood up in the gallery of Manhattan Criminal Court and began sobbing and shouting: “Don’t let them take my picture! Please! I’m innocent!”

A court officer tried to calm her down, but Barrion — dubbed the spitting lady of 77th Street by locals — only grew more hysterical and continued ranting.

“Please, it’s abuse,” she wailed. “I’m innocent and I haven’t done anything. Why you take a picture of me?”

A few moments later, her case was called before Judge Joanne Watters as she continued to weep and held a large bag in front of her face.

The prosecutor told the judge that “the case is extremely strong” and blasted her for being “disruptive to the court process” with her emotional outbursts.

After the brief hearing, Barrion, 65, walked to the exit, then turned and yelled across the courtroom, “I love you, judge, and God bless you!”

The woman was busted March 30 for stalking and endangering the welfare of a child for allegedly aiming loogies at a 7-year-old. At the time of her arrest, she had $19,133 in cash on her, which she told cops she earned from collecting bottles and cans.

Barrion has been waging a saliva-centered terror campaign for years. Residents started an online petition demanding that Mayor Bill de Blasio save them from the public health hazard.

.

“For years there has been a woman who has been wandering the streets of the Upper East Side who screams, yells and spits on people,” the petition states.

“This woman is not only a nuisance, but she is a threat as she is assaulting people vilely with saliva. She mainly spits on children, while also hissing and yelling at them,” reads the petition that was signed by more than 1,470 residents.