tfjs-examples icon indicating copy to clipboard operation
tfjs-examples copied to clipboard

Update Dependencies and Refactor Code for Pose Detection App

Open Jersyfi opened this issue 2 years ago • 1 comments

This pull request includes several updates and improvements to the Pose Detection App:

  1. Updated the dependencies in package.json to 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.

  2. Refactored the code in App.tsx to 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.

  3. Updated the metro.config.js to include 'bin' in the asset extensions. This is necessary for loading binary model files.

  4. Added the baseUrl option in tsconfig.json to enable absolute imports in TypeScript.

  5. Changed import of CameraType from expo-camera/build/Camera.types to support the newer version.

These changes should help improve the overall quality and maintainability of the code.

Jersyfi avatar Dec 21 '23 12:12 Jersyfi

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.

google-cla[bot] avatar Dec 21 '23 12:12 google-cla[bot]