react-native-arkit icon indicating copy to clipboard operation
react-native-arkit copied to clipboard

[Question] How can I save the camera output with the AR objects?

Open Eyesonly88 opened this issue 7 years ago • 5 comments

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.

Eyesonly88 avatar Jan 26 '18 05:01 Eyesonly88

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 avatar Feb 07 '18 11:02 bnjm

@bnjm ok, thanks for the suggestions.

Eyesonly88 avatar Feb 25 '18 22:02 Eyesonly88

@Eyesonly88 any luck regarding the matter?

helloeyesimple avatar Mar 03 '18 03:03 helloeyesimple

@helloeyesimple haven't got around to it yet, still on the todo list 😄

Eyesonly88 avatar Mar 05 '18 11:03 Eyesonly88

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

code-matt avatar Aug 10 '19 11:08 code-matt