cj-mills / christianjmills

My personal blog
https://christianjmills.com/
Other
3 stars 0 forks source link

Barracuda PoseNet Tutorial 2nd Edition Pt. 2 | Christian Mills #29

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Barracuda PoseNet Tutorial 2nd Edition Pt. 2 | Christian Mills

This post covers how to set up a video player and webcam in Unity. We’ll be using the video player to check the accuracy of the PoseNet model.

https://christianjmills.com/Barracuda-PoseNet-Tutorial-V2-2/

sogarian commented 2 years ago

Hi! I found a bug in this tutorial at InitializeCamera() method.

// Adjust the camera position to account for updates to the VideoScreen mainCamera.transform.position = new Vector3(videoDims.x / 2, videoDims.y / 2, 0f); ==> mainCamera.transform.position = new Vector3(videoDims.x / 2, videoDims.y / 2, -10f);

BTW, thank you for your great tutorials!

cj-mills commented 2 years ago

Hi @sogarian, thanks for letting me know about the discrepancy between the blog post and the GitHub repository! I updated the blog post with the correct code from the GitHub project.