This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dlib | |
import cv2 | |
import matplotlib.pyplot as plt | |
# 얼굴 검출기와 랜드마크 검출기 초기화 | |
detector = dlib.get_frontal_face_detector() | |
predictor = dlib.shape_predictor("shape_predictor_68_face_landmarks.dat") | |
# 이미지 로드 | |
image = cv2.imread("backam3.jpg") |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
extension UINavigationController { | |
open override func willMove(toParent parent: UIViewController?) { | |
// 같은 container에 대해 호출된다. | |
print("wm, \(title!) | parent: \(String(describing: parent))") | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
class NumberElementModel { | |
let id: Int | |
let number: Int | |
var isInside: Bool | |
init(id: Int, number: Int, isInside: Bool) { | |
self.id = id |