A carer who abused an elderly dementia sufferer was caught on CCTV installed by the woman’s daughter, a court heard.