From 5efaefee98d025199975b40ff43365deb3859396 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 4 Oct 2023 12:56:47 +0200 Subject: [PATCH] docs: Update QR Code references --- README.md | 2 +- docs/docs/guides/FRAME_PROCESSORS.mdx | 2 +- docs/docs/guides/FRAME_PROCESSORS_CREATE_OVERVIEW.mdx | 2 +- package/package.json | 6 +++++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bad82ac..ce1b595 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ VisionCamera is a powerful, high-performance Camera library for React Native. It * 📱 Customizable devices and multi-cameras ("fish-eye" zoom) * 🎞️ Customizable resolutions and aspect-ratios (4k/8k images) * ⏱️ Customizable FPS (30..240 FPS) -* 🧩 [Frame Processors](https://react-native-vision-camera.com/docs/guides/frame-processors) (JS worklets to run QR-Code scanning, facial recognition, AI object detection, realtime video chats, ...) +* 🧩 [Frame Processors](https://react-native-vision-camera.com/docs/guides/frame-processors) (JS worklets to run facial recognition, AI object detection, realtime video chats, ...) * 🔍 Smooth zooming (Reanimated) * ⏯️ Fast pause and resume * 🌓 HDR & Night modes diff --git a/docs/docs/guides/FRAME_PROCESSORS.mdx b/docs/docs/guides/FRAME_PROCESSORS.mdx index 3dde5f9..59cb0c4 100644 --- a/docs/docs/guides/FRAME_PROCESSORS.mdx +++ b/docs/docs/guides/FRAME_PROCESSORS.mdx @@ -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 diff --git a/docs/docs/guides/FRAME_PROCESSORS_CREATE_OVERVIEW.mdx b/docs/docs/guides/FRAME_PROCESSORS_CREATE_OVERVIEW.mdx index d14afa1..98e40c1 100644 --- a/docs/docs/guides/FRAME_PROCESSORS_CREATE_OVERVIEW.mdx +++ b/docs/docs/guides/FRAME_PROCESSORS_CREATE_OVERVIEW.mdx @@ -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' }) }, []) ``` diff --git a/package/package.json b/package/package.json index ee90d7b..0fe514e 100644 --- a/package/package.json +++ b/package/package.json @@ -61,7 +61,11 @@ "ar", "qr", "qr-code", - "scanner" + "barcode", + "scanner", + "frame", + "processing", + "realtime" ], "repository": "https://github.com/mrousavy/react-native-vision-camera", "author": "Marc Rousavy (https://github.com/mrousavy)",