What is the best way to record a video with augmented reality? (adding text, images logo to frames from iPhone/iPad camera)
Previously I was trying to figure out how
now I answer my own question
the best would be to use Objective-C++ class (.mm) where we can use OpenCV and easily/fast convert from CMSampleBuffer to cv::Mat and back to CMSampleBuffer after processing
Objective-C++
.mm
CMSampleBuffer
cv::Mat
we can easily call Objective-C++ functions from Swift