상세 컨텐츠

본문 제목

openCV & Unity3D with UDP 통신

AR||ComputerView

by 이디하임 2020. 5. 20. 21:06

본문

 

주먹을 쥐면 UDP 통신(포트)를 통해 신호를 주고, 이를 유니티 UDP클라이언트에서 신호로 받아들여 

캐릭터의 점프를 제어한다.

 

아래 사이트의 튜토리얼을 따라 만들었다.

https://www.raywenderlich.com/5475-introduction-to-using-opencv-with-unity

 

Introduction to Using OpenCV With Unity

Introduction If you’ve been working with Unity for a while, you must have realized how powerful the game engine is. From making simple 2D and 3D mobile games, to full-fledged virtual reality applications, you can do it all with Unity. However, if you are

www.raywenderlich.com

 

문제는 이상하게 주먹을 쥐어도 인풋값에 0이 들어가지 않아서 Recognition.py에서 조건식을 수정해주었다. 

나중에 해당 부분을 조금 정리해서 다른것으로 응용해 새로 올려봐야지싶다.

'AR||ComputerView' 카테고리의 다른 글

anaconda 에서 opencv 설치시 에러 모음(5월 20일)  (0) 2020.05.20
YOLOv4: Optimal Speed and Accuracy of Object Detection  (0) 2020.05.12
모션인식  (0) 2020.05.05
바라쿠다를 이용한 3D 포즈 예측  (0) 2020.04.19
SLAM  (0) 2020.04.10

관련글 더보기