tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.35k stars 1.92k forks source link

[React-Native] recordAsync() causes video to freeze and does not record or apply pose #6604

Closed eledahl closed 1 year ago

eledahl commented 2 years ago

System information

Describe the current behavior Recording causes video to freeze and app to crash

Describe the expected behavior I am needing to record the video as the pose is being detected

Standalone code to reproduce the issue My camera file pretty much resembles this example. I have added in a couple functions that are unrelated to the camera recording and overall pose estimation. I have tried adding in recordAsync() to multiple areas such as in its own function, inside handleCameraStream() and within a button for onPress. All produced the same result of freezing and crashing.

eledahl commented 1 year ago

Hi @jinjingforever @rthadur, two quick questions

  1. Is this on the roadmap at all?
  2. Do you happen to know if recording works for native languages/mediapipe?
google-ml-butler[bot] commented 1 year ago

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