DeepARSDK / quickstart-ios-swift

DeepAR SDK for iOS example project
https://developer.deepar.ai
MIT License
23 stars 9 forks source link

How to implement my own camera preview? #23

Closed ItsJolly closed 2 years ago

ItsJolly commented 2 years ago

I already have a camera preview working and i want to add this DeepAR over what i already have, how do i go about it?

It says that it's in the ViewController.swift view, commented on line 90 in the Swift example.

JelenaKB commented 2 years ago

You can feed the frames from your camera with a custom camera controller

https://github.com/DeepARSDK/custom-cameracontroller-ios-objc

but you can't render only the AR elements over an existing view, The AR view includes both the camera image and the added 3D elements.