The chief petty officer , who has 24 years of Navy service , also told the court he put a video camera in her closet to try to record her when she changed clothes after showering , that he frequently looked down her shirt and owned dozens of child pornography images he had collected on the Internet .