A woman was taken to court after she was caught on camera dumping waste in an alleyway behind her home.