RotationFaceDetection 1.0.0

RotationFaceDetection 1.0.0

Maintained by daisukenagata.



RotationFaceDetection

bitrise Version License Platform

What is this?

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.

Example

    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
    }

Requirements

Installation

RotationFaceDetection is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RotationFaceDetection'

Author

[email protected]

License

RotationFaceDetection is available under the MIT license. See the LICENSE file for more info.