This is the processed photo after working on the RAW file in Adobe Lightroom.
Here is the photo with just perspective not corrected on the photo.
Now when I am shooting on my Fuji X-E3 there is a level built into the camera and can be turned on to show in the display.
When I shot the photo of the building it was level from left to right.
When in Adobe Lightroom you just go to the develop module and go to the Transform tools.
You can click on Auto and see if it looks the way you want and then you can undo the change if you like.
You can also select each of the individual controls and adjust. A grid will show up so you can get the building’s edges straight. The one you will need to adjust is vertical where you correct the building falling away from you.
Be sure to check the Constrain Crop so that you will have a full framed image.