How to Set Up Still Image Camera Perspective Matching in Blender

Featured image for a blog post explaining how to calibrate and align a camera with an image using fSpy and Blender. The image features an old cube-shaped building, with the title "CAMERA MATCHING IN BLENDER" displayed at the bottom.
How to calibrate and match a camera to an image using fSpy and Blender

Table of contents

Step 1: Download and install fSpy image camera matching software to your computer

fSpy is a cross-platform app for quick and easy still image camera matching

Fspy versions on Github
Fspy versions on Github
  • Download the latest version of fSpy from GitHub. There are several different versions available for download. Download the one compatible with your operating system
  • Unzip it and run it by double-clicking on the fSpy file

Step 2: Camera calibration and matching

How to drag and drop an image from file browser to fSpy app
How to drag and drop an image from the file browser to fSpy app
  • Drag and drop your image from the File Explorer window into the fSpy app
Set the second axis and midpoint on fSpy
Set the second axis and midpoint on fSpy
  • Set the second axis on fSpy to Z so that its Z-axis orientation is the same as Blender. Set the Principal point according to your image’s midpoint
Axis orientation in fSpy
Axis orientation in fSpy
  • Drag the Z-axis lines (blue in color) to follow vertical lines on the image, for example along the vertical edges of walls depending on your image
  • The red lines follow the horizontal vanishing point of the image. For example, a path or road
  • After you finish setting up the lines, save the file to your computer. We’ll use it in the next step

Step 3: Download and install fSpy addon to Blender

How to install fSpy addon to Blender
How to install fSpy addon to Blender
  • Do not unzip it. Install it from Blender’s user preferences window and activate it as any other Blender addon

Step 4: Import the fSpy file you saved in Step 2 into Blender

  • Open Blender
How to import an fSpy project file into Blender
How to import an fSpy project file into Blender
  • On Blender’s header menu, go to File > Import > fSpy (.fspy)
  • fSpy addon will create a camera with all the recreated camera properties. It will also import the image you used in Step 2 as a background
  • Please note that the scene units in Blender will be set to whatever unit was selected in fSpy. The clipping distances might need to be adjusted for both the view and the camera
  • Now you have a practical foundation for modeling the mesh with the help of the image reference
A Blender interface screen recording demonstrating the utilization of the Product Rendering Tools Addon in Blender.
Get Product Rendering Tools Addon

Share With Friends

Facebook
Twitter
LinkedIn
Reddit

Ask a Question

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

More Like This

We use cookies on our website to enhance your browsing experience. By continuing to browse this website you consent to the use of all essential and non-essential cookies. For more information, please read our Privacy Policy.