How do we find the non-inverted image of an object at brain after being refracted at retina ?

when we look at an object , it's image gets inverted from the lens of retina...But the image formed at the brain is not inverted..how is it possible ? where does the second inversion happen ?
2 answers 2