Bug 281848

Summary: Shape Detection API doesn't work on iOS
Product: WebKit Reporter: Danny Moerkerke <drmoerkerke>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: a_protyasha, brandonsbillingham, chaffeqa, gene, jaapweijland, jonathan, schneider, tomac, vitor.roriz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: iPhone / iPad   
OS: iOS 18   

Danny Moerkerke
Reported 2024-10-21 04:05:34 PDT
The Shape Detection API was working until Safari 17.6.x when enabled in feature flags but is no longer working. To reproduce: 1. navigate to https://whatpwacando.today/barcode in Safari on iOS 18 with Shape Detection API enabled in feature flags 2. tap the "Scan code" button 3. scan a QR-code with the camera 4. code is not detected 1. navigate to https://whatpwacando.today/face-detection in Safari on iOS 18 with Shape Detection API enabled in feature flags 2. tap the "Detect face" button 3. scan face with the camera 4. face is not detected The Shape Detection API does work on macOS Sequoia.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-10-22 09:11:22 PDT
Jonathan
Comment 2 2024-11-06 08:28:25 PST
I hope Apple fixes this soon. The barcode detector API is far superior to any Javascript implementation. Making the shape detection API widely available would greatly enhance the development of robust, efficient applications that rely on scanning capabilities.
chaffeqa
Comment 3 2024-12-17 00:11:56 PST
This API is very important modern-day technology with the prolificness of QR codes. I would love to see it fixed
Jaap Weijland
Comment 4 2025-01-14 05:37:30 PST
I also hope this API becomes widely available. Now I'm relying on native apps purely for the scanning capability.
Note You need to log in before you can comment on or make changes to this bug.