4min chapter

React Native Radio cover image

RNR 269 - React Native VisionCamera v3 with Marc Rousavy

React Native Radio

CHAPTER

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

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode