[Webkit-unassigned] [Bug 247737] New: [iOS] REGRESSION of minimal focus distance of the back camera on the iPhone 13 Pro and iPhone 14 Pro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 10 08:41:03 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=247737

            Bug ID: 247737
           Summary: [iOS] REGRESSION of minimal focus distance of the back
                    camera on the iPhone 13 Pro and iPhone 14 Pro
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: moritz.zimmermann at scandit.com
                CC: youennf at gmail.com

What?
- The newest iPhone Pro models have a minimum/closest focus distance that is much larger than that of other iPhones. 
- With the back camera, the affected models cannot not focus on any object that is closer than ~15cm.
  In comparison, all other tested iPhones including the non-pro versions could focus on objects as close as 4cm.
- Affected are iPhone 13 Pro, iPhone 13 Pro Max, iPhone 14 Pro and iPhone 14 Pro Max

Why?
- Many developers rely on capturing images and video at short range.
- There are several use cases which are disrupted by this issue. Some of them which are especially interesting for web apps: 
    - Capturing pictures of documents and ID cards in web forms
    - Taking macro pictures with web applications
    - Reading text, QR-codes or barcodes from the browser

How?
- A possible solution could be using the ultra-wide camera, which has a much closer focus distance. 
  However, only one of the three back cameras is made available in WebRTC 
  (related bug report: https://bugs.webkit.org/show_bug.cgi?id=221752)
- Even more promising: the native camera app on iOS is already using composite camera devices which automatically switch camera depending on the scene. 
  Using one of these as the default back camera that is exposed on WebRTC would create a lot of value and help to help mitigate the issue.
  See: 
    - builtInDualWideCamera: https://developer.apple.com/documentation/avfoundation/avcapturedevice/devicetype/3377620-builtindualwidecamera
    - builtInTripeCamera: https://developer.apple.com/documentation/avfoundation/avcapturedevice/devicetype/3377621-builtintriplecamera

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221110/01f288a4/attachment.htm>


More information about the webkit-unassigned mailing list