The article doesn't even go anywhere near what you need to do in order to get an acceptable output. It only shows the absolute basics. If you apply only those to a photo from a phone camera, it will be massively distorted (the effect is smaller, but still present on big cameras).
"Distorted" makes me think of a fisheye effect or something similar. Unsure if that's what you meant.
When i worked on image pipeline the images were circular and had to be warped to square. Also the edges of the circular image were darker than the middle, and needed to be brightened.