[
  {
    "path": "Eyes Tracking/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Eyes Tracking\n//\n//  Created by Virakri Jinangkul on 6/6/18.\n//  Copyright © 2018 virakri. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Eyes Tracking/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-20@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-20@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-29.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-29@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-29@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-40@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-40@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"57x57\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-57.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"57x57\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-57@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-60@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-60@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-20.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-20@2x-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-30.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-29@2x-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-40.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-40@2x-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-76.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-76@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"83.5x83.5\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-83-5@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"1024x1024\",\n      \"idiom\" : \"ios-marketing\",\n      \"filename\" : \"iTunesArtwork@2x-1.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"512x512\",\n      \"idiom\" : \"mac\",\n      \"filename\" : \"iTunesArtwork.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"512x512\",\n      \"idiom\" : \"mac\",\n      \"filename\" : \"iTunesArtwork@2x.png\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Eyes Tracking/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Eyes Tracking/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"13122.16\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" useSafeAreas=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"13104.12\"/>\n        <capability name=\"Safe area layout guides\" minToolsVersion=\"9.0\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <viewLayoutGuide key=\"safeArea\" id=\"6Tk-OE-BBY\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Eyes Tracking/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"14269.12\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" useSafeAreas=\"YES\" colorMatched=\"YES\" initialViewController=\"BV1-FR-VrT\">\n    <device id=\"retina5_9\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"14252.5\"/>\n        <capability name=\"Safe area layout guides\" minToolsVersion=\"9.0\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tXr-a1-R10\">\n            <objects>\n                <viewController id=\"BV1-FR-VrT\" customClass=\"ViewController\" customModule=\"Eyes_Tracking\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"75x-hB-b3v\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"812\"/>\n                        <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                        <subviews>\n                            <wkWebView clipsSubviews=\"YES\" contentMode=\"scaleToFill\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"saK-eH-dzW\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"44\" width=\"375\" height=\"768\"/>\n                                <color key=\"backgroundColor\" red=\"0.36078431370000003\" green=\"0.38823529410000002\" blue=\"0.4039215686\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                <wkWebViewConfiguration key=\"configuration\">\n                                    <audiovisualMediaTypes key=\"mediaTypesRequiringUserActionForPlayback\" none=\"YES\"/>\n                                    <wkPreferences key=\"preferences\"/>\n                                </wkWebViewConfiguration>\n                            </wkWebView>\n                            <visualEffectView opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"vT5-6S-UTW\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"652\" width=\"375\" height=\"160\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" insetsLayoutMarginsFromSafeArea=\"NO\" id=\"KW7-5O-3pA\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"160\"/>\n                                    <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                                </view>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"160\" id=\"dF0-1e-9bJ\"/>\n                                </constraints>\n                                <blurEffect style=\"dark\"/>\n                            </visualEffectView>\n                            <arscnView clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"W9c-Gg-veJ\">\n                                <rect key=\"frame\" x=\"263\" y=\"668\" width=\"96\" height=\"128\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"width\" constant=\"96\" id=\"8NY-RG-No7\"/>\n                                    <constraint firstAttribute=\"width\" secondItem=\"W9c-Gg-veJ\" secondAttribute=\"height\" multiplier=\"3:4\" id=\"GTL-RY-QyZ\"/>\n                                </constraints>\n                            </arscnView>\n                            <view userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Wol-sx-K7a\">\n                                <rect key=\"frame\" x=\"123.66666666666669\" y=\"342\" width=\"128\" height=\"128\"/>\n                                <subviews>\n                                    <view contentMode=\"scaleToFill\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"3xe-Aw-FZf\">\n                                        <rect key=\"frame\" x=\"19.999999999999986\" y=\"63.666666666666686\" width=\"88\" height=\"1\"/>\n                                        <color key=\"backgroundColor\" name=\"systemRedColor\" catalog=\"System\" colorSpace=\"catalog\"/>\n                                        <constraints>\n                                            <constraint firstAttribute=\"height\" constant=\"1\" id=\"QUf-ef-Qgy\"/>\n                                        </constraints>\n                                    </view>\n                                    <view contentMode=\"scaleToFill\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"oQZ-hd-QQQ\">\n                                        <rect key=\"frame\" x=\"63.333333333333329\" y=\"20\" width=\"1\" height=\"88\"/>\n                                        <color key=\"backgroundColor\" name=\"systemRedColor\" catalog=\"System\" colorSpace=\"catalog\"/>\n                                        <constraints>\n                                            <constraint firstAttribute=\"width\" constant=\"1\" id=\"DwY-cI-q5A\"/>\n                                        </constraints>\n                                    </view>\n                                    <view contentMode=\"scaleToFill\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"qrs-KN-fCd\">\n                                        <rect key=\"frame\" x=\"59.999999999999986\" y=\"60\" width=\"8\" height=\"8\"/>\n                                        <color key=\"backgroundColor\" name=\"systemRedColor\" catalog=\"System\" colorSpace=\"catalog\"/>\n                                        <constraints>\n                                            <constraint firstAttribute=\"width\" secondItem=\"qrs-KN-fCd\" secondAttribute=\"height\" id=\"CfW-rM-g6p\"/>\n                                            <constraint firstAttribute=\"width\" constant=\"8\" id=\"EXg-4a-MyQ\"/>\n                                        </constraints>\n                                    </view>\n                                </subviews>\n                                <color key=\"backgroundColor\" red=\"1\" green=\"0.23137254901960785\" blue=\"0.18823529411764706\" alpha=\"0.10000000000000001\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                <constraints>\n                                    <constraint firstItem=\"oQZ-hd-QQQ\" firstAttribute=\"centerX\" secondItem=\"Wol-sx-K7a\" secondAttribute=\"centerX\" id=\"6iP-0t-1hN\"/>\n                                    <constraint firstAttribute=\"width\" constant=\"128\" id=\"A9m-tT-eY3\"/>\n                                    <constraint firstItem=\"3xe-Aw-FZf\" firstAttribute=\"leading\" secondItem=\"Wol-sx-K7a\" secondAttribute=\"leading\" constant=\"20\" id=\"Bf0-2c-rwT\"/>\n                                    <constraint firstItem=\"3xe-Aw-FZf\" firstAttribute=\"centerX\" secondItem=\"Wol-sx-K7a\" secondAttribute=\"centerX\" id=\"E49-Kl-9fD\"/>\n                                    <constraint firstAttribute=\"width\" secondItem=\"Wol-sx-K7a\" secondAttribute=\"height\" id=\"Fuv-XS-aCi\"/>\n                                    <constraint firstItem=\"qrs-KN-fCd\" firstAttribute=\"centerX\" secondItem=\"Wol-sx-K7a\" secondAttribute=\"centerX\" id=\"RXv-jQ-iu1\"/>\n                                    <constraint firstItem=\"oQZ-hd-QQQ\" firstAttribute=\"top\" secondItem=\"Wol-sx-K7a\" secondAttribute=\"top\" constant=\"20\" id=\"TcK-Gk-qfk\"/>\n                                    <constraint firstItem=\"qrs-KN-fCd\" firstAttribute=\"centerY\" secondItem=\"Wol-sx-K7a\" secondAttribute=\"centerY\" id=\"chl-Od-DNq\"/>\n                                    <constraint firstItem=\"3xe-Aw-FZf\" firstAttribute=\"centerY\" secondItem=\"Wol-sx-K7a\" secondAttribute=\"centerY\" id=\"eMC-IH-gF8\"/>\n                                    <constraint firstAttribute=\"bottom\" secondItem=\"oQZ-hd-QQQ\" secondAttribute=\"bottom\" constant=\"20\" id=\"eMP-7d-FJM\"/>\n                                    <constraint firstAttribute=\"trailing\" secondItem=\"3xe-Aw-FZf\" secondAttribute=\"trailing\" constant=\"20\" id=\"vCV-m1-3wQ\"/>\n                                </constraints>\n                            </view>\n                            <stackView opaque=\"NO\" contentMode=\"scaleToFill\" axis=\"vertical\" alignment=\"top\" spacing=\"10\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Aaq-uW-sX7\">\n                                <rect key=\"frame\" x=\"24\" y=\"668\" width=\"154\" height=\"92\"/>\n                                <subviews>\n                                    <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" lineBreakMode=\"tailTruncation\" numberOfLines=\"2\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"P1x-95-9sC\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"111.33333333333333\" height=\"28.666666666666668\"/>\n                                        <string key=\"text\">Eyes Tracking\nPosition Estimation</string>\n                                        <fontDescription key=\"fontDescription\" name=\"HelveticaNeue-Bold\" family=\"Helvetica Neue\" pointSize=\"12\"/>\n                                        <color key=\"textColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                        <nil key=\"highlightedColor\"/>\n                                    </label>\n                                    <stackView opaque=\"NO\" contentMode=\"scaleToFill\" distribution=\"fillEqually\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"uQR-ic-rNg\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"38.666666666666629\" width=\"154\" height=\"24.666666666666671\"/>\n                                        <subviews>\n                                            <stackView opaque=\"NO\" contentMode=\"scaleToFill\" spacing=\"4\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"7Zn-id-RbV\">\n                                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"77\" height=\"24.666666666666668\"/>\n                                                <subviews>\n                                                    <label opaque=\"NO\" userInteractionEnabled=\"NO\" alpha=\"0.69999999999999996\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"x:\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Dge-Te-vxZ\">\n                                                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"17\" height=\"24.666666666666668\"/>\n                                                        <fontDescription key=\"fontDescription\" name=\"HelveticaNeue\" family=\"Helvetica Neue\" pointSize=\"21\"/>\n                                                        <color key=\"textColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                                        <nil key=\"highlightedColor\"/>\n                                                    </label>\n                                                    <label opaque=\"NO\" userInteractionEnabled=\"NO\" alpha=\"0.69999999999999996\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"-\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"zjQ-Le-hMK\">\n                                                        <rect key=\"frame\" x=\"21\" y=\"0.0\" width=\"56\" height=\"24.666666666666668\"/>\n                                                        <constraints>\n                                                            <constraint firstAttribute=\"width\" constant=\"56\" id=\"ncf-bs-rf1\"/>\n                                                        </constraints>\n                                                        <fontDescription key=\"fontDescription\" name=\"HelveticaNeue\" family=\"Helvetica Neue\" pointSize=\"21\"/>\n                                                        <color key=\"textColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                                        <nil key=\"highlightedColor\"/>\n                                                    </label>\n                                                </subviews>\n                                            </stackView>\n                                            <stackView opaque=\"NO\" contentMode=\"scaleToFill\" spacing=\"4\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"LX5-kk-71F\">\n                                                <rect key=\"frame\" x=\"77\" y=\"0.0\" width=\"77\" height=\"24.666666666666668\"/>\n                                                <subviews>\n                                                    <label opaque=\"NO\" userInteractionEnabled=\"NO\" alpha=\"0.69999999999999996\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"y:\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"9lh-bE-1Yj\">\n                                                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"17\" height=\"24.666666666666668\"/>\n                                                        <fontDescription key=\"fontDescription\" name=\"HelveticaNeue\" family=\"Helvetica Neue\" pointSize=\"21\"/>\n                                                        <color key=\"textColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                                        <nil key=\"highlightedColor\"/>\n                                                    </label>\n                                                    <label opaque=\"NO\" userInteractionEnabled=\"NO\" alpha=\"0.69999999999999996\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"-\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"5nW-i0-8sr\">\n                                                        <rect key=\"frame\" x=\"21\" y=\"0.0\" width=\"56\" height=\"24.666666666666668\"/>\n                                                        <constraints>\n                                                            <constraint firstAttribute=\"width\" constant=\"56\" id=\"mrM-1O-qV8\"/>\n                                                        </constraints>\n                                                        <fontDescription key=\"fontDescription\" name=\"HelveticaNeue\" family=\"Helvetica Neue\" pointSize=\"21\"/>\n                                                        <color key=\"textColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                                        <nil key=\"highlightedColor\"/>\n                                                    </label>\n                                                </subviews>\n                                            </stackView>\n                                        </subviews>\n                                    </stackView>\n                                    <stackView opaque=\"NO\" contentMode=\"scaleToFill\" spacing=\"4\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8aK-qe-Hsa\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"73.333333333333371\" width=\"149.33333333333334\" height=\"18.666666666666671\"/>\n                                        <subviews>\n                                            <label opaque=\"NO\" userInteractionEnabled=\"NO\" alpha=\"0.69999998807907104\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"distance:\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"gva-Rj-yuB\">\n                                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"65.333333333333329\" height=\"18.666666666666668\"/>\n                                                <fontDescription key=\"fontDescription\" name=\"HelveticaNeue\" family=\"Helvetica Neue\" pointSize=\"16\"/>\n                                                <color key=\"textColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                                <nil key=\"highlightedColor\"/>\n                                            </label>\n                                            <label opaque=\"NO\" userInteractionEnabled=\"NO\" alpha=\"0.69999998807907104\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"-\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"luK-2a-LAg\">\n                                                <rect key=\"frame\" x=\"69.333333333333329\" y=\"0.0\" width=\"79.999999999999986\" height=\"18.666666666666668\"/>\n                                                <constraints>\n                                                    <constraint firstAttribute=\"width\" constant=\"80\" id=\"lFo-79-v7e\"/>\n                                                </constraints>\n                                                <fontDescription key=\"fontDescription\" name=\"HelveticaNeue\" family=\"Helvetica Neue\" pointSize=\"16\"/>\n                                                <color key=\"textColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                                <nil key=\"highlightedColor\"/>\n                                            </label>\n                                        </subviews>\n                                    </stackView>\n                                </subviews>\n                            </stackView>\n                        </subviews>\n                        <color key=\"backgroundColor\" white=\"0.0\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                        <constraints>\n                            <constraint firstItem=\"9i0-fu-tQr\" firstAttribute=\"trailing\" secondItem=\"W9c-Gg-veJ\" secondAttribute=\"trailing\" constant=\"16\" id=\"2Ia-Z0-Hx9\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"vT5-6S-UTW\" secondAttribute=\"trailing\" id=\"2SB-gQ-Lv1\"/>\n                            <constraint firstItem=\"saK-eH-dzW\" firstAttribute=\"leading\" secondItem=\"9i0-fu-tQr\" secondAttribute=\"leading\" id=\"2ZC-Fp-hnP\"/>\n                            <constraint firstItem=\"Aaq-uW-sX7\" firstAttribute=\"leading\" secondItem=\"9i0-fu-tQr\" secondAttribute=\"leading\" constant=\"24\" id=\"CFb-fd-ubf\"/>\n                            <constraint firstItem=\"Wol-sx-K7a\" firstAttribute=\"centerX\" secondItem=\"75x-hB-b3v\" secondAttribute=\"centerX\" id=\"Huc-TB-BkR\"/>\n                            <constraint firstAttribute=\"bottom\" secondItem=\"W9c-Gg-veJ\" secondAttribute=\"bottom\" constant=\"16\" id=\"Li7-fA-cKy\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"saK-eH-dzW\" secondAttribute=\"trailing\" id=\"W76-Ug-zLd\"/>\n                            <constraint firstItem=\"Wol-sx-K7a\" firstAttribute=\"centerY\" secondItem=\"75x-hB-b3v\" secondAttribute=\"centerY\" id=\"ZYK-RP-cx2\"/>\n                            <constraint firstItem=\"Aaq-uW-sX7\" firstAttribute=\"top\" secondItem=\"W9c-Gg-veJ\" secondAttribute=\"top\" id=\"a81-FD-F9y\"/>\n                            <constraint firstItem=\"vT5-6S-UTW\" firstAttribute=\"leading\" secondItem=\"75x-hB-b3v\" secondAttribute=\"leading\" id=\"bjE-73-Gct\"/>\n                            <constraint firstAttribute=\"bottom\" secondItem=\"vT5-6S-UTW\" secondAttribute=\"bottom\" id=\"fhr-Jr-BHz\"/>\n                            <constraint firstAttribute=\"bottom\" secondItem=\"saK-eH-dzW\" secondAttribute=\"bottom\" id=\"jMP-GB-EOC\"/>\n                            <constraint firstItem=\"saK-eH-dzW\" firstAttribute=\"top\" secondItem=\"9i0-fu-tQr\" secondAttribute=\"top\" id=\"zMf-LH-vqf\"/>\n                        </constraints>\n                        <viewLayoutGuide key=\"safeArea\" id=\"9i0-fu-tQr\"/>\n                    </view>\n                    <connections>\n                        <outlet property=\"blurBarView\" destination=\"vT5-6S-UTW\" id=\"ZHs-yM-vhD\"/>\n                        <outlet property=\"distanceLabel\" destination=\"luK-2a-LAg\" id=\"Uao-cT-Xam\"/>\n                        <outlet property=\"eyePositionIndicatorCenterView\" destination=\"qrs-KN-fCd\" id=\"ZO2-jM-TBM\"/>\n                        <outlet property=\"eyePositionIndicatorView\" destination=\"Wol-sx-K7a\" id=\"P0K-2q-lrM\"/>\n                        <outlet property=\"lookAtPositionXLabel\" destination=\"zjQ-Le-hMK\" id=\"SFk-Hq-X2t\"/>\n                        <outlet property=\"lookAtPositionYLabel\" destination=\"5nW-i0-8sr\" id=\"dIT-1O-eR5\"/>\n                        <outlet property=\"sceneView\" destination=\"W9c-Gg-veJ\" id=\"MwD-uf-Osc\"/>\n                        <outlet property=\"webView\" destination=\"saK-eH-dzW\" id=\"phT-GD-Fie\"/>\n                    </connections>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"SZV-WD-TEh\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"136.80000000000001\" y=\"114.53201970443351\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Eyes Tracking/Extensions.swift",
    "content": "//\n//  SCNVectorExtension.swift\n//  Face-based Game Prototype\n//\n//  Created by VIRAKRI JINANGKUL on 10/31/17.\n//  Copyright © 2017 VIRAKRI JINANGKUL. All rights reserved.\n//\n\nimport SceneKit\n\nextension SCNVector3 {\n    func length() -> Float {\n        return sqrtf(x * x + y * y + z * z)\n    }\n}\n\nfunc - (l: SCNVector3, r: SCNVector3) -> SCNVector3 {\n    return SCNVector3Make(l.x - r.x, l.y - r.y, l.z - r.z)\n}\n\nextension Collection where Element == CGFloat, Index == Int {\n    /// Return the mean of a list of CGFloat. Used with `recentVirtualObjectDistances`.\n    var average: CGFloat? {\n        guard !isEmpty else {\n            return nil\n        }\n        \n        let sum = reduce(CGFloat(0)) { current, next -> CGFloat in\n            return current + next\n        }\n        \n        return sum / CGFloat(count)\n    }\n}\n"
  },
  {
    "path": "Eyes Tracking/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleDisplayName</key>\n\t<string>Eyes Tracking</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>NSCameraUsageDescription</key>\n\t<string>This application will use the camera for Augmented Reality.</string>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t\t<string>arkit</string>\n\t</array>\n\t<key>UIStatusBarHidden</key>\n\t<false/>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Eyes Tracking/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Eyes Tracking\n//\n//  Created by Virakri Jinangkul on 6/6/18.\n//  Copyright © 2018 virakri. All rights reserved.\n//\n\nimport UIKit\nimport SceneKit\nimport ARKit\nimport WebKit\n\nclass ViewController: UIViewController, ARSCNViewDelegate, ARSessionDelegate {\n\n    @IBOutlet weak var webView: WKWebView!\n    @IBOutlet var sceneView: ARSCNView!\n    @IBOutlet weak var eyePositionIndicatorView: UIView!\n    @IBOutlet weak var eyePositionIndicatorCenterView: UIView!\n    @IBOutlet weak var blurBarView: UIVisualEffectView!\n    @IBOutlet weak var lookAtPositionXLabel: UILabel!\n    @IBOutlet weak var lookAtPositionYLabel: UILabel!\n    @IBOutlet weak var distanceLabel: UILabel!\n    \n    var faceNode: SCNNode = SCNNode()\n    \n    var eyeLNode: SCNNode = {\n        let geometry = SCNCone(topRadius: 0.005, bottomRadius: 0, height: 0.2)\n        geometry.radialSegmentCount = 3\n        geometry.firstMaterial?.diffuse.contents = UIColor.blue\n        let node = SCNNode()\n        node.geometry = geometry\n        node.eulerAngles.x = -.pi / 2\n        node.position.z = 0.1\n        let parentNode = SCNNode()\n        parentNode.addChildNode(node)\n        return parentNode\n    }()\n    \n    var eyeRNode: SCNNode = {\n        let geometry = SCNCone(topRadius: 0.005, bottomRadius: 0, height: 0.2)\n        geometry.radialSegmentCount = 3\n        geometry.firstMaterial?.diffuse.contents = UIColor.blue\n        let node = SCNNode()\n        node.geometry = geometry\n        node.eulerAngles.x = -.pi / 2\n        node.position.z = 0.1\n        let parentNode = SCNNode()\n        parentNode.addChildNode(node)\n        return parentNode\n    }()\n    \n    var lookAtTargetEyeLNode: SCNNode = SCNNode()\n    var lookAtTargetEyeRNode: SCNNode = SCNNode()\n    \n    // actual physical size of iPhoneX screen\n    let phoneScreenSize = CGSize(width: 0.0623908297, height: 0.135096943231532)\n    \n    // actual point size of iPhoneX screen\n    let phoneScreenPointSize = CGSize(width: 375, height: 812)\n    \n    var virtualPhoneNode: SCNNode = SCNNode()\n    \n    var virtualScreenNode: SCNNode = {\n        \n        let screenGeometry = SCNPlane(width: 1, height: 1)\n        screenGeometry.firstMaterial?.isDoubleSided = true\n        screenGeometry.firstMaterial?.diffuse.contents = UIColor.green\n        \n        return SCNNode(geometry: screenGeometry)\n    }()\n    \n    var eyeLookAtPositionXs: [CGFloat] = []\n    \n    var eyeLookAtPositionYs: [CGFloat] = []\n    \n    override var preferredStatusBarStyle: UIStatusBarStyle {\n        return UIStatusBarStyle.lightContent\n    }\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        webView.load(URLRequest(url: URL(string: \"https://www.apple.com\")!))\n        \n        // Setup Design Elements\n        eyePositionIndicatorView.layer.cornerRadius = eyePositionIndicatorView.bounds.width / 2\n        sceneView.layer.cornerRadius = 28\n        eyePositionIndicatorCenterView.layer.cornerRadius = 4\n        \n        blurBarView.layer.cornerRadius = 36\n        blurBarView.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]\n        webView.layer.cornerRadius = 16\n        webView.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]\n        \n        // Set the view's delegate\n        sceneView.delegate = self\n        sceneView.session.delegate = self\n        sceneView.automaticallyUpdatesLighting = true\n        \n        // Setup Scenegraph\n        sceneView.scene.rootNode.addChildNode(faceNode)\n        sceneView.scene.rootNode.addChildNode(virtualPhoneNode)\n        virtualPhoneNode.addChildNode(virtualScreenNode)\n        faceNode.addChildNode(eyeLNode)\n        faceNode.addChildNode(eyeRNode)\n        eyeLNode.addChildNode(lookAtTargetEyeLNode)\n        eyeRNode.addChildNode(lookAtTargetEyeRNode)\n        \n        // Set LookAtTargetEye at 2 meters away from the center of eyeballs to create segment vector\n        lookAtTargetEyeLNode.position.z = 2\n        lookAtTargetEyeRNode.position.z = 2\n    }\n    \n    override func viewWillAppear(_ animated: Bool) {\n        super.viewWillAppear(animated)\n        \n        // Create a session configuration\n        guard ARFaceTrackingConfiguration.isSupported else { return }\n        let configuration = ARFaceTrackingConfiguration()\n        configuration.isLightEstimationEnabled = true\n        \n        // Run the view's session\n        sceneView.session.run(configuration, options: [.resetTracking, .removeExistingAnchors])\n    }\n    \n    override func viewWillDisappear(_ animated: Bool) {\n        super.viewWillDisappear(animated)\n        \n        // Pause the view's session\n        sceneView.session.pause()\n    }\n\n    // MARK: - ARSCNViewDelegate\n    \n    func renderer(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) {\n        \n        faceNode.transform = node.transform\n        guard let faceAnchor = anchor as? ARFaceAnchor else { return }\n        \n        update(withFaceAnchor: faceAnchor)\n    }\n    \n    // MARK: - update(ARFaceAnchor)\n    \n    func update(withFaceAnchor anchor: ARFaceAnchor) {\n        \n        eyeRNode.simdTransform = anchor.rightEyeTransform\n        eyeLNode.simdTransform = anchor.leftEyeTransform\n        \n        var eyeLLookAt = CGPoint()\n        var eyeRLookAt = CGPoint()\n        \n        let heightCompensation: CGFloat = 312\n        \n        DispatchQueue.main.async {\n\n            // Perform Hit test using the ray segments that are drawn by the center of the eyeballs to somewhere two meters away at direction of where users look at to the virtual plane that place at the same orientation of the phone screen\n            \n            let phoneScreenEyeRHitTestResults = self.virtualPhoneNode.hitTestWithSegment(from: self.lookAtTargetEyeRNode.worldPosition, to: self.eyeRNode.worldPosition, options: nil)\n            \n            let phoneScreenEyeLHitTestResults = self.virtualPhoneNode.hitTestWithSegment(from: self.lookAtTargetEyeLNode.worldPosition, to: self.eyeLNode.worldPosition, options: nil)\n            \n            for result in phoneScreenEyeRHitTestResults {\n                \n                eyeRLookAt.x = CGFloat(result.localCoordinates.x) / (self.phoneScreenSize.width / 2) * self.phoneScreenPointSize.width\n                \n                eyeRLookAt.y = CGFloat(result.localCoordinates.y) / (self.phoneScreenSize.height / 2) * self.phoneScreenPointSize.height + heightCompensation\n            }\n            \n            for result in phoneScreenEyeLHitTestResults {\n                \n                eyeLLookAt.x = CGFloat(result.localCoordinates.x) / (self.phoneScreenSize.width / 2) * self.phoneScreenPointSize.width\n                \n                eyeLLookAt.y = CGFloat(result.localCoordinates.y) / (self.phoneScreenSize.height / 2) * self.phoneScreenPointSize.height + heightCompensation\n            }\n            \n            // Add the latest position and keep up to 8 recent position to smooth with.\n            let smoothThresholdNumber: Int = 10\n            self.eyeLookAtPositionXs.append((eyeRLookAt.x + eyeLLookAt.x) / 2)\n            self.eyeLookAtPositionYs.append(-(eyeRLookAt.y + eyeLLookAt.y) / 2)\n            self.eyeLookAtPositionXs = Array(self.eyeLookAtPositionXs.suffix(smoothThresholdNumber))\n            self.eyeLookAtPositionYs = Array(self.eyeLookAtPositionYs.suffix(smoothThresholdNumber))\n            \n            let smoothEyeLookAtPositionX = self.eyeLookAtPositionXs.average!\n            let smoothEyeLookAtPositionY = self.eyeLookAtPositionYs.average!\n            \n            // update indicator position\n            self.eyePositionIndicatorView.transform = CGAffineTransform(translationX: smoothEyeLookAtPositionX, y: smoothEyeLookAtPositionY)\n            \n            // update eye look at labels values\n            self.lookAtPositionXLabel.text = \"\\(Int(round(smoothEyeLookAtPositionX + self.phoneScreenPointSize.width / 2)))\"\n            \n            self.lookAtPositionYLabel.text = \"\\(Int(round(smoothEyeLookAtPositionY + self.phoneScreenPointSize.height / 2)))\"\n            \n            // Calculate distance of the eyes to the camera\n            let distanceL = self.eyeLNode.worldPosition - SCNVector3Zero\n            let distanceR = self.eyeRNode.worldPosition - SCNVector3Zero\n            \n            // Average distance from two eyes\n            let distance = (distanceL.length() + distanceR.length()) / 2\n            \n            // Update distance label value\n            self.distanceLabel.text = \"\\(Int(round(distance * 100))) cm\"\n            \n        }\n        \n    }\n    \n    func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval) {\n        virtualPhoneNode.transform = (sceneView.pointOfView?.transform)!\n    }\n    \n    func renderer(_ renderer: SCNSceneRenderer, didUpdate node: SCNNode, for anchor: ARAnchor) {\n        faceNode.transform = node.transform\n        guard let faceAnchor = anchor as? ARFaceAnchor else { return }\n        update(withFaceAnchor: faceAnchor)\n    }\n}\n"
  },
  {
    "path": "Eyes Tracking.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 50;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\tD0D25B8920C80F5500A25627 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0D25B8820C80F5500A25627 /* Extensions.swift */; };\n\t\tD0E5847A20C806050052967A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0E5847920C806050052967A /* AppDelegate.swift */; };\n\t\tD0E5847E20C806050052967A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0E5847D20C806050052967A /* ViewController.swift */; };\n\t\tD0E5848120C806050052967A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D0E5847F20C806050052967A /* Main.storyboard */; };\n\t\tD0E5848320C806050052967A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D0E5848220C806050052967A /* Assets.xcassets */; };\n\t\tD0E5848620C806050052967A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D0E5848420C806050052967A /* LaunchScreen.storyboard */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\tD0D25B8820C80F5500A25627 /* Extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = \"<group>\"; };\n\t\tD0E5847620C806050052967A /* Eyes Tracking.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = \"Eyes Tracking.app\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tD0E5847920C806050052967A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\tD0E5847D20C806050052967A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\tD0E5848020C806050052967A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\tD0E5848220C806050052967A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\tD0E5848520C806050052967A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\tD0E5848720C806050052967A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\tD0E5847320C806050052967A /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\tD0E5846D20C806050052967A = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tD0E5847820C806050052967A /* Eyes Tracking */,\n\t\t\t\tD0E5847720C806050052967A /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tD0E5847720C806050052967A /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tD0E5847620C806050052967A /* Eyes Tracking.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tD0E5847820C806050052967A /* Eyes Tracking */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tD0E5847920C806050052967A /* AppDelegate.swift */,\n\t\t\t\tD0E5847D20C806050052967A /* ViewController.swift */,\n\t\t\t\tD0D25B8820C80F5500A25627 /* Extensions.swift */,\n\t\t\t\tD0E5847F20C806050052967A /* Main.storyboard */,\n\t\t\t\tD0E5848220C806050052967A /* Assets.xcassets */,\n\t\t\t\tD0E5848420C806050052967A /* LaunchScreen.storyboard */,\n\t\t\t\tD0E5848720C806050052967A /* Info.plist */,\n\t\t\t);\n\t\t\tpath = \"Eyes Tracking\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\tD0E5847520C806050052967A /* Eyes Tracking */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = D0E5848A20C806060052967A /* Build configuration list for PBXNativeTarget \"Eyes Tracking\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tD0E5847220C806050052967A /* Sources */,\n\t\t\t\tD0E5847320C806050052967A /* Frameworks */,\n\t\t\t\tD0E5847420C806050052967A /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = \"Eyes Tracking\";\n\t\t\tproductName = \"Eyes Tracking\";\n\t\t\tproductReference = D0E5847620C806050052967A /* Eyes Tracking.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tD0E5846E20C806050052967A /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 1000;\n\t\t\t\tLastUpgradeCheck = 1000;\n\t\t\t\tORGANIZATIONNAME = virakri;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\tD0E5847520C806050052967A = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 10.0;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = D0E5847120C806050052967A /* Build configuration list for PBXProject \"Eyes Tracking\" */;\n\t\t\tcompatibilityVersion = \"Xcode 9.3\";\n\t\t\tdevelopmentRegion = en;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = D0E5846D20C806050052967A;\n\t\t\tproductRefGroup = D0E5847720C806050052967A /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tD0E5847520C806050052967A /* Eyes Tracking */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\tD0E5847420C806050052967A /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tD0E5848620C806050052967A /* LaunchScreen.storyboard in Resources */,\n\t\t\t\tD0E5848320C806050052967A /* Assets.xcassets in Resources */,\n\t\t\t\tD0E5848120C806050052967A /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\tD0E5847220C806050052967A /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tD0D25B8920C80F5500A25627 /* Extensions.swift in Sources */,\n\t\t\t\tD0E5847E20C806050052967A /* ViewController.swift in Sources */,\n\t\t\t\tD0E5847A20C806050052967A /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\tD0E5847F20C806050052967A /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tD0E5848020C806050052967A /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tD0E5848420C806050052967A /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tD0E5848520C806050052967A /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\tD0E5848820C806060052967A /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_WEAK = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tD0E5848920C806060052967A /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_WEAK = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_COMPILATION_MODE = wholemodule;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-O\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tD0E5848B20C806060052967A /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tDEVELOPMENT_TEAM = \"\";\n\t\t\t\tINFOPLIST_FILE = \"Eyes Tracking/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.virakri.Eyes-Tracking\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tD0E5848C20C806060052967A /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tDEVELOPMENT_TEAM = \"\";\n\t\t\t\tINFOPLIST_FILE = \"Eyes Tracking/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.virakri.Eyes-Tracking\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\tD0E5847120C806050052967A /* Build configuration list for PBXProject \"Eyes Tracking\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tD0E5848820C806060052967A /* Debug */,\n\t\t\t\tD0E5848920C806060052967A /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tD0E5848A20C806060052967A /* Build configuration list for PBXNativeTarget \"Eyes Tracking\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tD0E5848B20C806060052967A /* Debug */,\n\t\t\t\tD0E5848C20C806060052967A /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = D0E5846E20C806050052967A /* Project object */;\n}\n"
  },
  {
    "path": "Eyes Tracking.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Eyes Tracking.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Eyes Tracking.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Eyes Tracking.xcodeproj/xcuserdata/virakri.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Eyes Tracking.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) 2018 V\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  }
]