A PERVERT secretly filmed more than 50 videos of unwitting schoolgirls for almost nine years.

Creep Gary McGorm, from Dumbarton, used a camera hidden in a bag to record the youngsters.

The 52-year-old tailed them in restaurants, on public transport and while walking in the street.

Cops later found a sick diary detailing his crimes – as well as a mannequin dressed like a schoolgirl at his Dumbarton home.

The first offender is now behind bars after he pleaded guilty today to a breach of the peace as well as acting in a threatening manner.

The charges spanned between June 2011 and February this year.

McGorm will be sentenced in August.

He was caught after staff at a Taco Bell restaurant, in Glasgow's Sauchiehall Street, were suspicious of him.

McGorm had a bag with a square cut out as a camera lens tracked two girls sitting nearby.

He then followed the pair out before staff alerted police. McGorm was soon stopped.

Prosecutor Mark Allan told Glasgow Sheriff Court: “Officers observed a silver camera contained within an open shoebox inside the green carrier bag.

“The camera had 51 videos which featured female pupils being covertly filmed on streets, in fast food restaurants and on public transport.

“Those filmed were all school children in uniform."

Mr Allan then explained other discoveries at McGorm's home.

He went on: “A further 11 images of a mannequin dressed in a white shirt, grey skirt and a variation of socks or tights were recovered from a digital camera as was the mannequin itself."

A diary – with what appeared to be a school motto on the front – then revealed details of other similar incidents.

These included at Glasgow's Central Station, on a train to Edinburgh, and at a Subway restaurant.

It also appeared the oddball had a foot or sock fetish.

Judith Reid, defending, said: “He accepts there was a significant sexual element.”

Sheriff Stuart Reid remanded McGorm in custody as sentencing was deferred for reports.