Open Serenagirl opened 5 years ago
A problem with react-native is streaming large data between JS and native module will lock up the bridge. That's why the react-native-camera module does not support streaming at the moment. You can refer to the discussion here: https://github.com/react-native-community/react-native-camera/issues/135
One workaround I can think of is to combine react-native-camera and this library in one native module and directly feed image from camera to tflite using native code.
Thanks, Qian
@mdcroce I used this library, but I am unable to get the image detection work with any other model other than the one provided in the article. I tried the starter PoseNet model provided on Tensorflow (link) and set the Output.json with the following array: ["nose", "leftEye", "rightEye", "leftEar", "rightEar", "leftShoulder", "rightShoulder", "leftElbow", "rightElbow", "leftWrist", "rightWrist", "leftHip", "rightHip", "leftKnee", "rightKnee", "leftAnkle", "rightAnkle"].
Any help in the matter will be appreciated. Thanks!
this can detect images ,but if it can detect videos in real time?And can you give me some advice?