tfjs icon indicating copy to clipboard operation
tfjs copied to clipboard

[RN] example not working properly on android.

Open GwangjoGong opened this issue 4 years ago • 4 comments

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template

System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow.js): No
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Android
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: Samsung Galaxy S10
  • TensorFlow.js installed from (npm or script link): Cloned tfjs-examples/react-native-pose-detection
  • TensorFlow.js version (use command below): Cloned tfjs-examples/react-native-pose-detection
  • Browser version: -
  • Tensorflow.js Converter Version: -

Describe the current behavior I launched the pose detection example and take pose just like the image, but keypoints not detected like the image on README.md

Describe the expected behavior Keypoints should be detected just like the example image.

Standalone code to reproduce the issue Provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Colab/CodePen/any notebook.

Test Process

  1. clone repo
  2. yarn => Failed with error An unexpected error occurred: "https://registry.yarnpkg.com/colors/-/colors-1.4.2.tgz: Request failed \"404 Not Found\"".
  3. rm yarn.lock
  4. yarn && yarn start
  5. set camera to front and adjust position to show my face and shoulder. (just like image on README.md)

Other info / logs Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

GwangjoGong avatar Jan 28 '22 08:01 GwangjoGong

Hi, @GwangjoGong

Apologize for the delayed response and we're re-visiting our older issues and checking whether those issues got resolved or not as of now so May I know are you still looking for the solution or your issue got resolved ?

I tried to replicate the same issue from my end and it's working as expected,

  1. Cloned https://github.com/tensorflow/tfjs-examples.git
  2. cd react-native/pose-detection
  3. yarn
  4. yarn start
  5. Tested with Expo Go application downloaded from Google play store in android.

Here is screenshot for your reference :

image

If issue still persists after trying package dependancies which is mentioned in this official documentation please let us know with error log and code snippet to replicate the same issue from our end ?

Could you please confirm if this issue is resolved for you ? Please feel free to close the issue if it is resolved ? Thank you!

gaikwadrahul8 avatar May 30 '23 10:05 gaikwadrahul8

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar Jun 07 '23 02:06 github-actions[bot]

This issue was closed due to lack of activity after being marked stale for past 7 days.

github-actions[bot] avatar Jun 15 '23 02:06 github-actions[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Jun 15 '23 02:06 google-ml-butler[bot]