react native - App crashes on Android while navigating to the another screen - Stack Overflow

The screen needs to use camera and loads the machine learning model. I am using "react-native-visi

The screen needs to use camera and loads the machine learning model. I am using "react-native-vision-camera". And similarly load tenserflow.js and react-native-worklets-core.

I expect to open that screen and open the camera.

This is the screen:

import React, { useEffect, useState, useRef } from 'react';
import { View, StyleSheet, PermissionsAndroid, Platform, LogBox, Text } from 'react-native';
import { Camera, useCameraDevices, useFrameProcessor } from 'react-native-vision-camera';
import { runOnJS } from 'react-native-reanimated';
import '@tensorflow/tfjs-react-native';
import * as tf from '@tensorflow/tfjs';
import * as poseDetection from '@tensorflow-models/pose-detection';

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744840986a4596555.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信