A family doctor who used a secret camera inside his James Bond-style wristwatch to record himself abusing female patients has been jailed for 12 years after admitting a string of sex charges.
Bains filmed the attacks on his Tieex 4GB Waterproof HD Spy Watch DVR, which has been likened to something out of a 007 film.
It has a built-in camera on the face - with simple on and off buttons to record - and can be bought on the internet for less than £60.
Detectives branded Bains a "sexual predator" and said he had covertly filmed more than 100 women.
Bains admitted a total of 39 charges: 13 of assault by penetration, 13 of voyeurism, 11 of sexual assault and two of sexual activity with a child.
He also asked for a further 65 offences - 10 of sexual assault by penetration, eight of sexual assault and 47 of voyeurism - to be taken into account when Judge Douglas Field passed sentence.
His not guilty pleas to three charges of sexual assault and a single count of administering a noxious drug with intent to commit a sexual offence were accepted by the Crown and will lie on file.
Bains, of Nyland Road, Swindon, committed offences against 27 women - aged from 14 to 51 - between July 2010 and May 2012.
The police investigation began in June last year when a 19-year-old woman told officers she thought Bains filmed her as she showered and said she had been sexually assaulted by him in Swindon.
When detectives arrested Bains at the Tinkers Lane Surgery in Royal Wootton Bassett, they discovered his hi-tech wristwatch with spy camera.
They later recovered 361 high-quality video clips from Bains's watch and home computer.
Passing sentence on Thursday, Judge Field told Bains he had breached the trust patients put in their doctor.
"When you committed these offences you breached this duty of trust in the most grievous way," he said.
"You are a disgrace to the medical profession."
Judge Field told Bains that regarding one of the victims in particular - a teenage girl - he was in a "high position of trust" when he covertly filmed her.
"In serious breach of that trust you engaged in entirely inappropriate sexualised behaviour with her, including plying her with alcohol and showing her a sexually explicit film," the judge said.
"You then sexually abused her. Fortunately she reported her concerns to a friend and thus supported, she reported matters to the police.
"Once the police had commenced their investigations they discovered your computer and found these videos which showed you had been conducting intimate examinations of a large number of female patients from July 2009 to June 2012 and had covertly videoed them while doing so.
"You of all people will be aware that the relationship between a doctor and his patient is of fundamental importance in the practice of medicine.
"In this relationship the doctor is placed in a very high position of trust and the patient is entitled to expect the doctor to discharge that duty with the highest standard.
"This is particularly so when a female patient consults a male doctor on intimate matters."
The judge said another aggravating feature of the case was Bains's "large scale offending".
"It is now recognised that the taking of images of sexual offending when it is taking place, as it was here, is another seriously aggravating feature," he said.
"The videos were taken by you using a specially constructed watch to record the intimate examination of these woman and girls - no doubt for your later sexual gratification.
"You disregarded the welfare of these women and girls to commit these offences to satisfy your own perverted sexual appetite.
"The effect upon them is all too predictable. Upon discovering what you did they have experienced feelings of violation, embarrassment, anger and disgust.
"In some cases they have struggled to cope with everyday life. In all cases I am sure they will be wary of putting their trust again in a doctor.
"You are a man of 46 and of previously good character and I am now told you are truly remorseful.
"In view of your conviction for these offences I anticipate you will be disqualified from practising medicine for the rest of your life."
The judge also placed Bains on the Sex Offenders' Register indefinitely and passed a Sexual Offences Prevention Order banning him from possessing any device that can store or record videos, having contact with girls under 16 or entering the town of Royal Wootton Bassett.
The court heard some of the victims felt that something was wrong with Bains's examination of them and had told friends and family about the "pervy doctor" and of being groped by him.
Another said: "I felt like he had touched me up."
One patient, a teenage girl, had been asked by Bains whether her boyfriend was well-endowed and later told her: "You seem very cool for a kid."
Prosecutor Kerry Maylin explained that in one case a woman had gone to see Bains with a medical complaint and he examined her internally and then told her following his examination that she did not have cancer.
Another victim reassured herself that Bains "was a doctor and must know what he was doing", Miss Maylin said.
One patient thought she was being filmed covertly by Bains but felt she was being "paranoid".
Miss Maylin said that the women in the case had all provided victim impact statements to the court.
"They all unsurprisingly speak of their shock and concern that a doctor in his position would have treated them in the way they were treated," she said.
"Many of them have had ongoing concerns, some of whom have had to have counselling and further medical interventions."
Speaking after the sentencing, Detective Inspector Mark Garrett, head of Swindon CID, said: "I welcome today's sentencing of Dr Davinder Jeet Bains.
"This is without doubt the must serious offending I have seen by a GP in my 30 years' service and it is an exceptional case.
"This was a gross abuse of a position of trust and I would very much like to repeat what the judge said. He is a disgrace to the medical community."
Mr Garrett declined to comment on whether the surgery should have reported the complaints it received to the authorities but added: "That was a frustration in the investigation.
"The surgery had been informed before the police got involved."
In a statement, the surgery said: "The partners of Tinkers Lane Surgery are still trying to come to terms with the shocking crimes of Dr Bains and deeply regret his unforgivable behaviour and the impact this has had on our patients and the local community.
"We are reassured that today's sentence will mean he will almost certainly never work as a doctor in this country again."