react-native-arkit
react-native-arkit copied to clipboard
[Question] How can I save the camera output with the AR objects?
Use case: record videos with AR objects in them
How do I go about doing this? can this library export the output as a binary or video file?
Cheers.
There's no way to do this currently from within the library, though ARKit.snapshot will return an image containing the AR objects.
If I was implementing this myself I would look at bridging ReplayKit or a library like https://github.com/AFathi/ARVideoKit.
@bnjm ok, thanks for the suggestions.
@Eyesonly88 any luck regarding the matter?
@helloeyesimple haven't got around to it yet, still on the todo list 😄
I started to do it, there is a bug with replaykit in iOS12 though that is fixed in 13 and waiting on that https://github.com/code-matt/react-native-replaykit