Two juveniles who escaped from a detention facility Monday afternoon in Plymouth were captured thanks to infrared technology mounted on a State Police helicopter, police said.

The juveniles escaped at 2:30 p.m. from a Department of Youth Services facility in Plymouth and were captured at 5:32 p.m., said Sergeant Nicole Morrell, a State Police spokeswoman.

Troopers in the State Police Air Wing found the juveniles in a heavily wooded area about 1.5 miles from their last known location, officials said. State Police posted a video of troopers arresting the juveniles.

The helicopter was equipped with forward-looking infrared technology, allowing troopers in the air to direct other troopers, a police dog, and local officers on the ground to the juveniles’ location, police said.


Maria Lovato can be reached at maria.lovato@globe.com. Follow her on Twitter @maria_lovato99.