Are they any ways in swift to take high quality pictures with the sceneview camera session like snapchat does? Or at least without the scnnode objects in the picture?
Because I don't want to init a second camera frame to take pictures. I want it to be integrated like snapchat camera.
Best regards, moe
Yep
ARSCNViews have a built in snapshot method that returns a UIImage of the ARScene
So in Objective-C you could do:
UIImage *image = [sceneView snapshot];
and in Swift
var image = sceneView.snapshot()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With