Open utterances-bot opened 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!
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.
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/