FORT WORTH, Texas -

A North Texas principal is accused of planting a hidden camera in the locker room of a high school basketball team.

Officials say Wendee Long, principal at Wayside Middle School in Fort Worth, planted the camera to see how her daughters’ new coach talked to the team after they complained to their mother the coach yelled too much.

According to WFAA-TV, Long’s daughter, 17, got the camera into the locker room and hid it.

Long was caught after someone anonymously sent the video to the superintendent and several board members.

WFAA-TV reported Long's daughter is not facing any charges and authorities say the camera didn’t record anything inappropriate.

Long was arrested and faces charges of improper photography and wiretapping. If convicted, she could face a $25,000 fine or 20 years in prison.

Long's daughters attend school in the Argyle district. They have already quit the basketball team, WFAA-TV reported.