RotationFaceDetection 1.0.0

RotationFaceDetection 1.0.0

daisukenagata 维护。



RotationFaceDetection

bitrise Version License Platform

这是什么?

The above gif video uses the skyway library to enable remote calling.

This library corrects the angle when the remote destination locks the screen and changes the orientation of the screen.

Set the View to tap in the first argument of VNGetImageView.

Tap and repeat the rotation.

示例

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.addSubview(g)
        /* 
        Please set the rotating screen.
        Set the screen to be displayed in the second argument.
        */
        a = VNAngularStructure(v: VNImageRequest(), view: imageView)
    }

    override func viewDidAppear(_ animeted: Bool) {
        super.viewDidAppear(animeted)
     /* 
        Please set the rotating screen
        A face photo is a material for face recognition.
        The first argument is the screen for tap setting.
        The second argument is the screen for setting the image, and it is OK without displaying it on the screen.
        */
        g.tapped(view: imageView, addView: imageView, up: "dbank", left: "dbank2", down: "dbank3", right: "dbank4", v: a?.v)
        a?.frame = imageView.frame
    }

需求

安装

RotationFaceDetection 通过 CocoaPods 提供使用。为了安装它,只需要将以下行添加到您的 Podfile 中

pod 'RotationFaceDetection'

作者

[email&mail)

许可证

RotationFaceDetection 在MIT许可证下可用。更多信息请参阅LICENSE文件。