OpenSfM icon indicating copy to clipboard operation
OpenSfM copied to clipboard

Inquiry: Best Practices for Multi-Camera Systems

Open Saijin-Naib opened this issue 3 years ago • 3 comments

How does one go about adding something with multiple cameras with different optical properties and sensors?

For instance, I see the iPhone 12 is currently not in the sensor database.

It has two rear-facing cameras:

12 MP, f/1.6, 26mm (wide), 1.4µm, dual pixel PDAF, OIS
12 MP, f/2.4, 13mm, 120˚ (ultrawide), 1/3.6"

And one front-facing:

12 MP, f/2.2, 23mm (wide), 1/3.6"

What would the sensor database profile look like?

Saijin-Naib avatar Nov 10 '21 19:11 Saijin-Naib

Hi @Saijin-Naib ,

By running extract_metadata command and looking at camera_models.json, you will have an idea if OpenSfM's EXIF reading is able to retrieve different camera model and name for each of these. Normally, the focal length also appear in the name and so, should make the differentiation.

Let me know if that helps,

Yann

YanNoun avatar Nov 12 '21 10:11 YanNoun

@YanNoun ,

Thanks so much for clarifying and helping me.

So, for things like the TeraCube One I made a PR for in #816, I would ideally need to edit the name to include the focal length?

Do you know if any cameras currently in the sensor database that follow this practice/standard properly so I can model my work off of them and go back and correct any multi-lens/camera systems I made PRs for in the past to get them up to standard?

Saijin-Naib avatar Nov 17 '21 17:11 Saijin-Naib

Not sure if this helps: https://opensfm.org/docs/geometry.html

image

walter-morawa avatar Nov 27 '21 02:11 walter-morawa