Retrieve Camera location of a 2D image

   1128   2   1
User Avatar
Member
46 posts
Joined: Oct. 2019
Offline
Hi, is there any way to place my camera a the location where a 2D picture has been taken?
User Avatar
Member
6 posts
Joined:
Offline
Hi,

I'm not sure of a Houdini only solution, but I've used fspy with some success https://fspy.io/ [fspy.io] It's not automatic and you will need a image with a certain number of parallel projection lines to help calculates the camera position. The results can then be imported to Houdini via blender plugin https://github.com/stuffmatic/fSpy-Blender [github.com]

Sorry seems a bit convoluted, but it can work. As generally most camera tracking solutions are from a moving images.

Other areas worth investigating are photogrammetry solutions like Meshroom or Zephyr (camera export not free) or Alice vision Labs plugin AV_photogrammetry. Which I'm currently asking a question to the forum into how to use the camera positions calculated from the AV_photogrammetry node

dave
User Avatar
Member
46 posts
Joined: Oct. 2019
Offline
Hi Dave,
I was just reading your other posts… I will try fspy. I used Meshroom several times and it worked pretty well with image sequences however I never tried to export camera tracking result to Houdini.
Thanks for your help.
  • Quick Links