Update Dependencies and Refactor Code for Pose Detection App
This pull request includes several updates and improvements to the Pose Detection App:
-
Updated the dependencies in
package.jsonto their latest versions. This includes TensorFlow.js, TensorFlow.js React Native, Expo, and other related packages. This should help improve the performance and compatibility of the app. -
Refactored the code in
App.tsxto use the updated APIs and conventions. This includes changes to how the camera type is handled and how the texture dimensions are set for the TensorCamera component. -
Updated the
metro.config.jsto include 'bin' in the asset extensions. This is necessary for loading binary model files. -
Added the
baseUrloption intsconfig.jsonto enable absolute imports in TypeScript. -
Changed import of
CameraTypefromexpo-camera/build/Camera.typesto support the newer version.
These changes should help improve the overall quality and maintainability of the code.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.