A law enforcement officer who takes a child into custody with probable cause to believe that the child has engaged in conduct indicating a need for supervision as described by Section 51.03(b)(2) and who after reasonable effort is unable to determine the identity of the child, may fingerprint or photograph the child to establish the child's identity. On determination of the child's identity or that the child cannot be identified by the fingerprints or photographs, the law enforcement officer shall immediately destroy all copies of the fingerprint records or photographs of the child.
Tex. Fam. Code § 58.0022