The suspect was arrested while attempting to leave town

The scene was captured by Project Green Light, a new surveillance initiative that sends high-definition footage directly to police

A dramatic gang-related shooting has been captured on camera in Detroit, showing the moment a woman pulled a gun hidden in her skirt and shot a male rival sitting in a car.

The shooting occurred about 4.30 a.m. Sunday at a Mobil gas station on the city's west side and was captured by Project Green Light, a partnership between Detroit police and local gas stations that sends high-definition surveillance footage straight to police headquarters.

The footage shows the 20-year-old female suspect - the only woman in the group that was caught on camera - gets a gun from a blue Dodge Charger and hides it in her underpants,Fox 2 News reported.

Seconds later, the woman approached the second car, a dark-colored Pontiac Grand Prix, and fired multiple times, striking the driver repeatedly. Miraculously, the driver - who can hardly been on the video - survived the attack.

The footage shows the female suspect - the only woman in the group of men - get a gun from a blue Dodge Charger and hide it down her skirt (left). Seconds later she whips it out and starts shooting (right)

After being struck, the male driver pulls out, hitting a man and knocking to the ground. The woman then chases after the car, preparing to shoot again

The woman approached the car, a Grand Prix, and fired multiple times, striking the driver multiple times. Amazingly the man survived, and drove off after the attack

After being hit, the victim starts to drive away, hitting one of the other men from the blue Charger with the car and knocking him to the ground.

That is when another man, who is with the people in the Grand Prix, pounces on the female suspect, tacking her to the ground.

After getting the gun off the woman, both cars fled the scene.

Because of Project Green Light, police were onto the shooting immediately.

Also, due to the clearness of the footage, they had a clear identification of the suspect.

'Huge success, exactly what we had hoped for,' Detroit Police Sgt. Michael Woody told Fox 2.

'We're going to see you, and we're going to see you clearly.'

Suddenly, after the victim drive off, another man, who is with the people in the Grand Prix, pounces on the female suspect, tacking her to the ground

The suspect’s name has not yet been released, but police say she was arrested about a mile from her house as she was preparing to leave town

Police did not release the suspect's name, but said she was a 20-year-old black female, about 5'2' and with corn rows or braids in her hair.

The victim was identified as a 27-year-old black male, who was taken to hospital with non-life-threatening injuries.

Detroit Police Chief James Craig says within two hours of getting the images to the media, they had the female suspect in custody, after a viewer recognized her and called police.

Officials said she was found one mile from her house on her way out of town.

The woman has not been identified but remains in custody.

'Huge success': Detroit Police Chief James Craig said that police were able to track down the suspect just two hours after the footage was released to the media

Police told The Daily Mail Online they were preparing to lay charges against her on Monday night.

According to The Detroit News, there were two women and two men in the Charger when an argument broke out with the people in the Grand Prix.

A third person was in custody on Monday, however police said it was not related to the shooting.

The third person is believed to have been with the suspect when she was arrested, and was brought in on outstanding warrants.

It is unclear whether that person was at the scene of the shooting.