
RNR 269 - React Native VisionCamera v3 with Marc Rousavy
React Native Radio
00:00
Reanimated V2: A Frame Processor for Android Cameras
A frame processor is a workload. If you have your camera component and you want to add some kind of frame processing, it's in the Reanimated library. And before vision camera, so like, let's say a Reknev camera, this was not possible. So I implemented a feature where you can write a function called a frame processor. That gets called on every frame the camera sees. Each frame that's getting sent to you know, JavaScript, basically. You receive the frame as a parameter, which is mind blowing. It's real magic. In v3, fun fact, you can also convert the buffer to a JavaScript array buffer,. Which is obviously not really fast
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.