使用前置摄像头时,如何为AVCaptureConnection实现.leftmirroring?

时间:2018-09-24 04:01:19

标签: ios swift avfoundation avcapture

在使用前置摄像头拍摄照片时,我一直试图根据Apple示例代码项目Apple Camera Sample Project构建自定义摄像头。我已经看到了解决方案,该解决方案会在拍摄后改变图片的方向,但是我听说可以将AVCaptureConnection设置为使用已将属性import random number = random.randint(1, 100) guess = int(input("Im thinking of a number between 1 and 100 Can you guess it? ")) print(("You were "+str(abs(guess-number))+" away! ","You got it right ")[number==guess]) 设置为true的图片进行拍摄,如注释中所示关于这个答案https://stackoverflow.com/a/45401053/9367155,如何在Apple示例代码中实施该解决方案?谢谢

0 个答案:

没有答案