전체 글(864)
-
TensorFlow Lite를 이용한 동작 인식
TensorFlow Lite 예제 중에 동작 인식을 구현하기 위해서는 pose_estimation 예제를 참고하면 된다. 참고로 안드로이드용은 Pose Classification을 하는 부분이 붙어 있지만, iOS용은 별도로 붙여주어야 한다. https://github.com/tensorflow/examples/tree/master/lite/examples/pose_estimation https://github.com/tensorflow/examples GitHub - tensorflow/examples: TensorFlow examples TensorFlow examples. Contribute to tensorflow/examples development by creating an account on..
2022.10.30 -
Swift 개발 관련 팁 모음
static func getDayOfWeek(date: Date) -> String { let formatter = DateFormatter() formatter.dateFormat = "EEEEEE" formatter.locale = Locale(identifier:"ko_KR") let convertStr = formatter.string(from: date) return convertStr } https://effectivecode.tistory.com/1621 Swift 지정된 날짜(Date)의 요일 구하기 요일을 구하는 방식이 여러가지 다양하게 있는데 검색을 하다 보니 여간 복잡스러운 방법이 있는 경우도 있었다. 좀 더 심플하게 구성할 수 있는 방법이 없을까? 고민하다 포멧터를 이용해서 출 ef..
2022.10.30 -
강제로 Landscape 모드로 전환
어이없게 너무 간단하다 ㅠㅠ // 가로전환을 위해 사용 ( landscape / Left / Right 가능 ) override var supportedInterfaceOrientations: UIInterfaceOrientationMask { return .landscapeRight } https://leechamin.tistory.com/411 [Swift] 넷플릭스 화면 따라만들기 (3) 저번까지는 searchAPI를 구현해봤었다. 이제는 클릭 이후에, 영상을 가져오고/틀어주고, 화면전환까지 되도록 구현해보자. 그러기 위해서는 먼저 영상을 갖고 있는 movie라는 객체가 있어야 하고 영 leechamin.tistory.com
2022.09.13 -
CSS로 이미지 파일에 필터 효과 처리
흰색 마스킹 이미지 처리 html { background: red; } p { float: left; max-width: 50%; text-align: center; } img { display: block; max-width: 100%; } .filter { -webkit-filter: brightness(0) invert(1); filter: brightness(0) invert(1); } Original: Filter: https://stackoverflow.com/questions/24224112/css-filter-make-color-image-with-transparency-white CSS filter: make color image with transparency white I have a..
2022.08.24 -
Mediapipe 안드로이드용 App 빌드하기
https://github.com/google/mediapipe GitHub - google/mediapipe: Cross-platform, customizable ML solutions for live and streaming media. Cross-platform, customizable ML solutions for live and streaming media. - GitHub - google/mediapipe: Cross-platform, customizable ML solutions for live and streaming media. github.com MediaPipe는 Pose Detection을 PC 뿐만 아니라 모바일 (Android, iOS)도 지원이 된다고 하기에, 큰 차이 없이 쉽..
2022.08.21 -
Jest 스냅샷 테스트 관련 오류
로컬에서는 문제없이 테스트가 실행되지만, CI/CD 파이프라인에서는 다음과 같은 오류가 발생한다. New snapshot was not written. The update flag must be explicitly passed to write a new snapshot. This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default. To resolve this, we will need to update our snapshot artifacts. You can run Jest with a flag that will tell it to ..
2022.08.16