It takes input from the GPS, and IMU, and maps, and the routing engine, and presumably what mode (Chill, Average, Assertive) is selected (assuming V12 still allows that), etc.Tesla only uses cameras. So V12 would only take input from the cameras.
So it is not only taking cameras as an input.