No.  Even if the child would have appeared to be an adult to a reasonable person, the prosecution can proceed with child pornography charges and obtain a conviction—much like the statutory rape offense, it is not necessary that you actually knew the child’s age.