beginAnalysis(of:)
Analyzes video frames for the given decompression session.
Declaration
func beginAnalysis(of decompressionSession: VTDecompressionSession) throwsParameters
- decompressionSession:
An object that provides video frames for your app to analyze for sensitive content.
Discussion
If the framework detects sensitive content in the video stream, the VTDecompressionSession produces blank frames to effectively censor the video stream on the person’s behalf. When your app is ready to show the video stream again, resume analysis by calling continueStream().