Video Detect With Swift
videoDetect
Main flow:
start from setUpAssetVideoCapture()
Thread 1:setUpAssetVideoCapture() -> assetVideoCapture.setUp() -> assetVideoCapture.start() -> assetVideoCapture.runVideo()+Object Identification
Thread 2:detect person -> set need record flag
Thread 3:if need record flag setted ->assetVideoRecord?.setUp()->recordVideo() 10s ->save video file