This is an old philosophy debate about wheather if I blind person could suddenly see if they’d understand that a sphere is round just by looking at it.
When some people that had had cataracts for 50 years were treated they not only couldn’t tell that a sphere was round, they couldn’t understand shadows or depth of field/distance. They thought shadows on people were black splotches and when something was moving away that it was actually getting smaller.
I suspect visual input gets trained on our neural network like anything else, though we do have some specialized hardware for it.