By the time Boynton Beach police arrived at a scene Thursday where two mothers had overdosed inside a vehicle, paramedics were already working on the unconscious women.

All there was left for a responding officer to do was calm two screaming babies strapped to car seats. Video from a body camera released Tuesday shows the officer speaking sweetly to one of the babies while placing a pacifier inside the infant’s mouth.

The infants’ mothers — Kristen Leigh O’Connor of Coral Springs and June Ann Schweinhart of Greenacres — were taken to a hospital and then the Palm Beach County Jail. O’Connor, 27, and Schweinhart, 28, each face child neglect charges.

The babies, ages 1 month and 2 months, were brought to the police department and were turned over to family members after the Florida Department of Children and Families was notified.

Paramedics found the women and their babies inside a 2006 Ford Expedition in the 500 block of E. Woolbright Road on Oct. 5.

The body camera video shows Schweinhart inside an ambulance while first responders treat the unconscious O’Connor inside the SUV.

The women told police they became friends after spending time in the same drug-treatment center and drew closer after both became pregnant and were given the same due date.

On Oct. 5, the women decided to hang out and brought their babies along with them, police said. They bought $60 of heroin, then snorted it while the children were strapped to their seats, according to an arrest report.

Before she became unconscious, Schweinhart managed to call 911 and told a dispatcher that O’Connor appeared to be having a seizure.