Code Monkey home page Code Monkey logo

Comments (9)

ppanwin10 avatar ppanwin10 commented on July 2, 2024 1

I tried with useSkiaFrameProcessor hook but got this problem "react-native-vision-camera"' has no exported member named 'useSkiaFrameProcessor'. Did you mean 'useFrameProcessor'?" Is it because I'm trying on android?

did you upgrade vision camera package?

from react-native-vision-camera.

mrousavy avatar mrousavy commented on July 2, 2024

Hm, did you install Reanimated?

from react-native-vision-camera.

ppanwin10 avatar ppanwin10 commented on July 2, 2024

Hi Marc, yes, I do have it installed.
"react-native-reanimated": "^3.6.0",

Hm, did you install Reanimated?

from react-native-vision-camera.

mrousavy avatar mrousavy commented on July 2, 2024

Hm, I don't know. frame.render() should be responsible for showing the Frame.

Does e.g. a red rectangle appear if you render it on screen?

from react-native-vision-camera.

ppanwin10 avatar ppanwin10 commented on July 2, 2024

it does not appear in my app but it is working in example app. Anyway, I will keep debug this, you can close this issue. Thank you

from react-native-vision-camera.

islemsyw avatar islemsyw commented on July 2, 2024

Hello, Can you please help me resolve this issue, when i'm using the frame porcessor and write frame.render(), I get the problem "Property 'render' does not exist on type 'Frame'.

from react-native-vision-camera.

wuguishifu avatar wuguishifu commented on July 2, 2024

@islemsyw are you using the useSkiaFrameProcessor hook? I was getting that a while ago until I realized I was still using the useFrameProcessor hook instead of the Skia one.

from react-native-vision-camera.

islemsyw avatar islemsyw commented on July 2, 2024

I tried with useSkiaFrameProcessor hook but got this problem "react-native-vision-camera"' has no exported member named 'useSkiaFrameProcessor'. Did you mean 'useFrameProcessor'?"
Is it because I'm trying on android?

from react-native-vision-camera.

bigg-S avatar bigg-S commented on July 2, 2024

Hello,

Everything is functioning properly when I use useFrameProcessor but when I apply useSkiaFrameProcessor to the camera. I get an error that says:

ERROR Camera.onError(session/recoverable-error): An unknown error occurred while creating the Camera Session, but the Camera can recover from it. [session/recoverable-error: An unknown error occurred while creating the Camera Session, but the Camera can recover from it.]

This is the relevant part of my package.json:
"react": "18.2.0",
"react-native": "0.72.4",
"@shopify/react-native-skia": "^1.2.3",
"react-native-reanimated": "^3.11.0",
"react-native-vision-camera": "^4.0.3",
"react-native-worklets-core": "^1.3.0",

I appreciate any help, Thanks

from react-native-vision-camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.