분류 전체보기
-
[swift] Chroma key filterSwift 개발 2021. 4. 30. 14:53
Overview chroma key 효과는 greenscreening이나 bluescreening으로도 알려져 있는데, 투명하게 만들 색상을 정해서 target image에서 해당 색상 부분의 alpha value를 0으로 변경하고 background image와 합치는 것을 의미한다. 과정 (filter 두번 먹여주면 끝이다!!!!) Cube map 생성 : CIColorCube filter를 생성해서 투명하게 설정할 대상이 되는 색상을 결정한다 CIColorFilter 적용 : source image의 모든 pixel에 대해서 CIColorCube filter를 적용한다 source + background : CISourceOverCompositing filter를 사용해서 source와 backgr..
-
[github] 일종의 임시저장, git stash 사용법공부하는 글른 2021. 3. 11. 23:49
우리에게 git stash는 언제 필요한가? A 브랜치에서 작업을 해야 했는데, 실수로 master에서 작업을 진행해 버렸다! 혹은 A 브랜치에서 작업을 진행하던 중에 B 브랜치의 issue를 급하게 처리해야 할 경우, A 브랜치 내용을 임시저장하고 싶다! 이런 경우에 git stash를 사용할 수 있습니다. Git stash란? 완료하지 않은 작업을 stack에 임시로 저장하는 명령어로, git stash를 사용하여 commit하지 않고 후에 다시 가져와서 작업을 마무리할 수 있다. Step 1 : stash에 작업을 임시로 저장하기 git branch 명령어를 통해서 새로운 branch로 이동하려고 했으나, 아뿔싸! Your local changes to the following files would..
-
[논문리뷰] FailureSense : Detecting Sensor Failure using Electrical Appliances in the HomePaper Review 2021. 1. 15. 14:52
FilureSense 논문은 2014 IEEE Internatonal Conference on Mobile Adhoc and Sensor Systems (MASS)에 소개된 sensor failure detectoin에 관한 논문으로, detection 과정에 machine learning이나 deep learning의 도움 없이 statistical analysis를 통해 model을 생성하여 fail-stop failure, obstructed-view failure, moved-location failure을 상당히 높은 정확도로 detect하는 방법을 소개한다. (이게 진짜 설득력이 있나 싶은 부분들도 물론 있긴 하지만) 2014년 당시엔 대부분이 fail-stop failure만을 탐지했다는 설..
-
[논문리뷰] Re-examining Whether, Why, and How Human-AI Interaction Is Uniquely Difficult to DesignPaper Review/Human Computer Interaction 2020. 12. 7. 00:09
Re-examining Whether, Why, and How Human-AI Interaction Is Uniquely Difficult to Design 2020 CHI에 소개된 논문으로, AI infused system이 왜 desgin하기에 어려운지에 대해서 정리하고, 이를 위한 general solution을 challenge와 짝을 지어 소개한다. 논문을 읽으면서 다시 한 번 느낀점은 Human AI interaction이라는 키워드가 HCI community에서 논의된 지가 20년이라고는 하지만, 실제로 Artificial Intelligence의 advance가 눈에 띄게 이뤄진 것은 최근 몇 년인지라, 여전히 Human AI Interaction이라는 field 자체의 pervasive ..
-
[논문리뷰] Guidelines for Human-AI InteractionPaper Review/Human Computer Interaction 2020. 11. 30. 15:49
2019 CHI에 발표된 MicroSoft가 지난 20년 간의 고민과 최근 AI design 발전 동향을 반영하여 제작한 논무닝다. 해당 논문은 150개의 AI-related design recommendation을 모아 중요한 것들을 선별하여 18개의 guideline set으로 집대성하였으며, 해당 시도를 통해 더 나은 human-centric AI-infused system들이 설계될 수 있도록 시도하였다. Abstract Human-AI interaction의 원리 원칙은 Human-Computer interaction 분야에서 20년이 넘는 시간 동안에 논의 되어왔다. 그러나 최근 몇 년 사이 급격하게 발전한 AI 기술과 AI 기술이 사람들이 직접적으로 사용하는 application에 점점 많이..
-
CoreML overview 정리Swift 개발 2020. 10. 30. 18:18
Apple Developer CoreML overview site : https://developer.apple.com/documentation/coreml#overview Apple Developer Documentation developer.apple.com Ios application에 CoreML API를 활용하여 다양한 머신 러닝 모델을 통합시킬 수 있다. 여기서 말하는 모델이란, training set을 machine learning algorithm에 적용하여 얻은 결과를 의미하고, 사용자는 새로운 input data를 해당 모델에 집어 넣어서 예측 결과를 얻을 수 있다. Xcode의 Create ML app를 사용하여 모델을 build하고 train할 수 있고, 이렇게 학습된 모델은 Cor..
-
DeepLab V3+Deep Learning 공부자료 2020. 10. 30. 17:31
1. Tensorflow state-of-art deep learning model for semantic image segmentation 2. IOS example & Android example + tensorflow lite API 제공 3. Semantic Image Segmentation : image에서 각 pixel이 어떤 class와 관련되어 있는지 예측하는 모델 atrous convolution 사용 : Dilated Convolution이라고 해서, 확장된 conv를 의미. convolutional layer에 또 다른 parameter인 dilation rate를 도입한 것. dilation rate는 커널 사이의 간격을 정의 ex) dilation rate가 2인 3X3 kerne..
-
[Tensorboard] 설치 및 간단한 사용법 with Pytorch공부하는 글른 2020. 8. 28. 17:52
0. What is tensorboard? 텐서보드는 딥러닝 학습 시 시각화를 돕는 도구로, tensorflow 뿐 아니라 pytorch로 구현된 model에도 적용이 가능한 유용한 도구이다. Tensorboard에 관해서 Tensorflow 홈페이지에서 다양한 튜토리얼을 제공하고 있으니, 디테일한 정보와 활용에 대해서는 사이트를 참고하면 좋을듯 하다! 1. tensorboardX 설치하기 pytorch에서 tensorboard를 사용하기 위해서는 tensorboardX를 설치해야한다. 텐서보드X는 아래와같이 pip로 간단히 설치할 수 있다. pip install tensorboardX tensorflow를 설치해도 버전에 알맞게 tensorboard 설치된다고 하니, 기존에 tensorboard가 설치..
-
[tmux] 기초 사용법 정리공부하는 글른 2020. 8. 24. 15:59
nohup을 사용해서 서버의 background에서 작업을 돌렸었는데, 좀 불안정한 것 같아서 tmux 사용을 추천받았다. 처음 사용해보았지만, 상당히 간편한듯 해서, 명령어들을 짧게 정리하겠다. 0. What is tmux? tmux는 Terminal MUltipleXer로, 하나의 window에서 여러 개의 terminal session을 다루고자할 때 유용하다. 또한 terminal shell을 종료한 이후에도 작업을 유지하고 싶을 때도 많이 사용한다. 1. tmux 설치하기 맥에서는 아래 커맨드를 이용할 수 있고, $ brew install tmux Ubuntu에서는 아래 커맨드를 이용하여 설치할 수 있다. $ sudo apt install tmux 2. 간단한 사용법 1) 새로운 session ..
-
[논문리뷰] Architect : Building Interactive Virtual Experiences from Physical AffordPaper Review/Human Computer Interaction 2020. 7. 18. 23:12
Architect : Building Interactive Virtual Experiences from Physical Affordances(행동유도성) by Bringing Human-in-the-Loop(인간 참여형) AbstractARchitect brings in an assistant to map physical objects to virtual proxies of matching affordances using Augmented Reality IntroductionrefPhysical objecti에 부딪히는 상황은 위험하고, VR world에 render되지 않은 physical object는 Breaks in Presence로 이끈다.>>Zhenyi He, Fengyuan Zhu, Ken ..