pip install -r requirements.txt
npm install
-
console ที่ 1 เรียก
node poseServer(middle server between js client and gRPC server) -
console ที่ 2 เรียก
python ./gRPC/gameServer.py(python server) -
console ที่ 3 เรียก
python ./gRPC/gameClient.py(python client)
(Do not use "server.js". It's still have "some" bugs.)
- If you want to run only pose-estimation app & grpc-server. Use
docker-compose up -d - If you also want to run pose-estimation app & grpc-server & game-client . Use
docker-compose -f docker-compose-testing.yml up -dinstead.
3.1) Go to your browser
3.2) Go to url localhost:4200
3.3) Allow browser to use your face cam
3.4) Let's dance!!!
(You can right click and press inspect to view the prediction result in the console)
If you chose to run docker-compose -f docker-compose-testing.yml up -d in step 2
You can open console in the Docker Desktop to view the prediction result and view the data transfer between pose-side & game-side
1. left_hand_raised
2. right_hand_raised
3. tree
4. warrior
5. triangle
6. x_pose
7. squad
