Update FRAME_PROCESSORS.mdx

This commit is contained in:
Marc Rousavy 2021-07-06 15:06:14 +02:00 committed by GitHub
parent 4a362a544f
commit db9c7d8e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ Frame processors are by far not limited to Hotdog detection, other examples incl
* Creating **snapchat-like filters**, e.g. draw a dog-mask filter over the user's face * Creating **snapchat-like filters**, e.g. draw a dog-mask filter over the user's face
* Creating **color filters** with depth-detection * Creating **color filters** with depth-detection
Because they are written in JS, Frame Processors are **simple**, **extensible** and **easy to create** while still running at **native performance**. (Frame Processors can run up to **1000 times a second**!) Also, you can use **over-the-air updates** to tweak the Hotdog detector's sensitivity without pushing a native update. Because they are written in JS, Frame Processors are **simple**, **extensible** and **easy to create** while still running at **native performance**. (Frame Processors can run up to **1000 times a second**!) Also, you can use [over-the-air updates](https://github.com/microsoft/react-native-code-push) to tweak the Hotdog detector's sensitivity without pushing a native update.
:::note :::note
Frame Processors require [**react-native-reanimated**](https://github.com/software-mansion/react-native-reanimated) 2.2.0 or higher. Frame Processors require [**react-native-reanimated**](https://github.com/software-mansion/react-native-reanimated) 2.2.0 or higher.