docs: Update QR Code references

This commit is contained in:
Marc Rousavy
2023-10-04 12:56:47 +02:00
parent 6640b72a00
commit 5efaefee98
4 changed files with 8 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ Frame processors are by far not limited to object detection, other examples incl
* **ML** for **facial recognition**
* Using **Tensorflow**, **MLKit Vision**, **Apple Vision** or other libraries
* Creating **realtime video-chats** using **WebRTC** to directly send the camera frames over the network
* Creating scanners for **QR codes**, **Barcodes** or even custom codes such as **Snapchat's SnapCodes** or **Apple's AppClips**
* Creating scanners for custom codes such as **Snapchat's SnapCodes** or **Apple's AppClips**
* Creating **snapchat-like filters**, e.g. draw a dog-mask filter over the user's face
* Creating **color filters** with depth-detection
* **Drawing** boxes, text, overlays, or colors on the screen in realtime

View File

@@ -100,7 +100,7 @@ Frame Processors can also accept parameters, following the same type convention
```ts
const frameProcessor = useFrameProcessor((frame) => {
'worklet'
const codes = scanCodes(frame, { codes: ['qr', 'barcode'] })
const faces = scanFaces(frame, { accuracy: 'fast' })
}, [])
```