Update FRAME_PROCESSORS.mdx
This commit is contained in:
parent
43f5c54363
commit
3aa1f5f849
@ -145,7 +145,7 @@ You have to restart metro-bundler for changes in the `babel.config.js` file to t
|
|||||||
That's it! 🎉 Now you can use it:
|
That's it! 🎉 Now you can use it:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
const frameProcessor = useFrameProcessor((frame: Frame) => {
|
const frameProcessor = useFrameProcessor((frame) => {
|
||||||
'worklet'
|
'worklet'
|
||||||
const labels = labelImage(frame)
|
const labels = labelImage(frame)
|
||||||
// ...
|
// ...
|
||||||
|
Loading…
Reference in New Issue
Block a user