Skip to content

Instantly share code, notes, and snippets.

View J0onYEong's full-sized avatar
💭
Mach -O : dynamicLife

Junyeong choi J0onYEong

💭
Mach -O : dynamicLife
  • 홍익대학교
  • Seoul Korea
View GitHub Profile
@J0onYEong
J0onYEong / Model.swift
Created March 31, 2024 15:17
[RxSwift+MVVM] 특정 뷰에속할 경우 상태가 변경되는 UITableViewCell입니다.
import Foundation
class NumberElementModel {
let id: Int
let number: Int
var isInside: Bool
init(id: Int, number: Int, isInside: Bool) {
self.id = id
@J0onYEong
J0onYEong / CustomTabBarContainer.swift
Created April 29, 2024 02:26
CustomTabBarView(UIKit)
import UIKit
extension UINavigationController {
open override func willMove(toParent parent: UIViewController?) {
// 같은 container에 대해 호출된다.
print("wm, \(title!) | parent: \(String(describing: parent))")
}
@J0onYEong
J0onYEong / untitled0.ipynb
Created May 19, 2024 14:53
Untitled0.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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")