Hello,

OAK cameras have listed spesc for their HFOV and VFOV. When searching through the DepthAi documentation I found a link to code that can calculate the HFOV and VFOV here. Running these scripts even after setting max resolution gives me lower FOVs than the one listed in my camera's specs. What is the difference between the calculated FOVs and spec FOVs and which option is more accurate?

Thank you in advance.

  • erik replied to this.

    Hi zdefranc ,
    What are the FOVs that you calculated, and for which device?
    Thanks, Erik

      erik The device I am working with is the OAK-D. The FOVS I calculated were the vertical and horizontal, with the horizontal coming out to 65.88 deg and the vertical coming out to 40.04 deg. This is compared to the specs which state a HFOV of 69 deg and VFOV of 55 deg.

        zdefranc did you use 12MP camera resolution? From the values kinda seems like you are using 1080P/4K, which is a bit narrower in horizontal fov, and quite a lot narrower in vertical fov.

          erik I set the resolution to be 12MP.

          Although the FOV functions use the default pixel width and height to calculate FOV.

          If I enter the resolution width and height for 12 MP I get the following FOVs.

          These values are much greater than spec FOVs so I assume these are wrong as well.

          Let me know what you think.

            zdefranc I believe the formula you are using to calculate the FOV doesn't work for wide FOV lenses, only for pinhole models.

              erik I see, so if I wanted to get accurate FOV values for the OAK1-MAX I should use the spec's values?

              10 months later

              @zdwiel I am very interested in your results. What FOV value did you find? I really need to know this in my case when using 4K resolution.