React native tensorflow object detection

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии •

  • @MdKaif-o2n2h
    @MdKaif-o2n2h 4 месяца назад +2

    * What went wrong:
    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
    > Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
    > Could not find com.google.android:cameraview:1.0.1.
    Required by:
    project :app
    > Could not find com.google.android:cameraview:1.0.1.
    Required by:
    project :app > project :expo > project :expo-camera
    getting this error?

  • @shivamkumarsah9514
    @shivamkumarsah9514 2 года назад +1

    in this video you didn't resolve the error in ctx, in the line "const ctx: CanvasRenderingContext2D = can.getContext('2d');", when i am running this project then the camera is opening but it is not doing anything.

    • @TechSavvy_ytube
      @TechSavvy_ytube  2 года назад

      That's not a error. Its just warning from typescript.
      Please check ur code.

  • @willianspraciano
    @willianspraciano 2 года назад +2

    Thanks, man. It worked for me. I only had to change the _Camera.requestPermissionsAsync()_ function to _Camera.requestCameraPermissionsAsync()_

    • @anazi
      @anazi 2 года назад

      Thanks Man.

  • @mohamadbeelall7078
    @mohamadbeelall7078 2 года назад +3

    Hello
    I'm getting the error: "no model or image tensor"
    Could you help?
    I'm completely new to react native

  • @giusepperavida3533
    @giusepperavida3533 Год назад

    I get this error: "Error: Argument 'x' passed to 'cast' must be a Tensor or TensorLike, but got 'Tensor'". Any idea to solve it?

  • @baroksander152
    @baroksander152 9 месяцев назад +3

    bro please dont use background music its so annoying. other than that this is a great guide thank you

  • @MdKaif-o2n2h
    @MdKaif-o2n2h 4 месяца назад

    * What went wrong:
    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
    > Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
    > Could not find com.google.android:cameraview:1.0.1.
    Required by:
    project :app
    > Could not find com.google.android:cameraview:1.0.1.
    Required by:
    project :app > project :expo > project :expo-camera
    i am getting this error?

  • @zhaletaheri9049
    @zhaletaheri9049 2 года назад

    how to make tflite model to the camera in the react native cli ? please help me

  • @ammaraamir4441
    @ammaraamir4441 Год назад +1

    Possible Unhandled Promise Rejection (id: 0):
    ReferenceError: Property 'CanvasRenderingContext2D' doesn't exist
    ReferenceError: Property 'CanvasRenderingContext2D' doesn't exist
    This Error is just killing m

  • @amithbino7376
    @amithbino7376 Год назад

    My app is working, but when point a object, it does not detect anything, the blue border or anything is showing up
    what i need to do, to fix this?

  • @croosheck
    @croosheck Год назад

    Any idea, how to improve the performance?

  • @user-su1tk4jw8f
    @user-su1tk4jw8f 10 месяцев назад +1

    Everything works fine but it does not detect any object! can you fix it

    • @street-stage-travels
      @street-stage-travels 8 месяцев назад

      I guess it's related to versioning. you can log and see the prediction results, which means tenserflow works well, but the canvas logics part is broken.

  • @zhlim6659
    @zhlim6659 2 года назад +1

    Do you got idea to use custom datasets with this pre-trained model?

  • @nabeelmalik.4714
    @nabeelmalik.4714 2 года назад +1

    How to make object detection more smooth, like remove lagging??

    • @gigachad3861
      @gigachad3861 2 года назад

      did you found any solution to this bro ? im also facing similar problem the camera is quite laggy and .predict() takes a lot of time to give results ?

    • @nabeelmalik.4714
      @nabeelmalik.4714 2 года назад

      @@gigachad3861 I've applied Object detection on Android App (kotlin) with Tensorflow Pre trained Object Detection model.
      In android studio (kotlin) there is concept of multi-threading which make detection smooth. You can follow different videos to integrate ML Object detection with android app.

  • @ammaraamir4441
    @ammaraamir4441 Год назад

    Brother I am following this video and i followed each steps but i am getting alot of error

  • @hunggarchristian
    @hunggarchristian 2 года назад

    can you help translate this into regular javascript not tsx?

  • @aimeepineda8400
    @aimeepineda8400 6 месяцев назад

    ERROR TypeError: Cannot read property 'Type' of undefined

    • @No-One8166
      @No-One8166 5 месяцев назад

      did you find the solution ?

  • @gumantar835
    @gumantar835 2 года назад

    is tensorflow can for face recognation ?

  • @JustKiwoong
    @JustKiwoong 3 года назад

    how do i apply in custom models? i have transform learning models

    • @TechSavvy_ytube
      @TechSavvy_ytube  3 года назад +1

      You need to convert your model into js model.
      And then you can just load using js.tensorflow.org/api_react_native/0.6.0/#bundleResourceIO

    • @JustKiwoong
      @JustKiwoong 3 года назад

      @@TechSavvy_ytube yeah i did, but i wonder detection part. if i'll just follow your code, i solved the problem?

    • @TechSavvy_ytube
      @TechSavvy_ytube  3 года назад

      Yes

  • @greenergrass3489
    @greenergrass3489 3 года назад

    thanks for the video. I have tried you sample but I'm getting error upon successful build, "undefined is not an object (evaluati
    ng 'this.getPrefix'" which is pointing to coco-ssd object detection package. Any idea how to fix it?

    • @TechSavvy_ytube
      @TechSavvy_ytube  3 года назад

      Hi ... I have not faced this issue. When are you getting this error ? Is it when ur trying to predict ?

    • @greenergrass3489
      @greenergrass3489 3 года назад

      @@TechSavvy_ytube the moment I launch the app I get this error. I am using RN ver 0.63.4, buildToolsVersion = "29.0.2".

    • @TechSavvy_ytube
      @TechSavvy_ytube  3 года назад

      @@greenergrass3489 Hope u have created the app in expo. Check your library list from here www.npmjs.com/package/@tensorflow/tfjs-react-native

    • @greenergrass3489
      @greenergrass3489 3 года назад

      @@TechSavvy_ytube I somehow got it working now, I am currently using RN CLI and also not typescript so I changed some codes. It is showing the camera but It does not detect any object. Predictions does not work, I'll just have to study more about object detection. Thanks for the video it helps me learn as a starter.

    • @xyliusdominicibayan6215
      @xyliusdominicibayan6215 3 года назад

      @@greenergrass3489 Hey got the same result the camera is working but not the Prediction. Did you got it?

  • @JustKiwoong
    @JustKiwoong 3 года назад

    Is this code that i can show on your RUclips is all ? if i just follow your youtube, app can activate well without error?

  • @tayyabbutt3968
    @tayyabbutt3968 2 года назад

    Does it work using npm?

  • @dub161
    @dub161 2 года назад

    is this using tflite?

  • @shanayagupta4002
    @shanayagupta4002 2 года назад +2

    you are very small youtuber you should give code for free

  • @soumyabratachakraborty5239
    @soumyabratachakraborty5239 2 года назад

    hello. when i am typing your code, the ctx = canvasRendering2D is showing an error, apart from that when i am running the code in expo, a blank white screen is opening. and is there any way to contact you? want some help for the final yeaar project

    • @TechSavvy_ytube
      @TechSavvy_ytube  2 года назад

      What is the error ur getting? Use debugging to check what is not working. Is the model loading ? Is the model working. You can print the model output to check..

    • @soumyabratachakraborty5239
      @soumyabratachakraborty5239 2 года назад

      @@TechSavvy_ytube like I mean the bundling and all is fine but the final result is coming a white screen

    • @soumyabratachakraborty5239
      @soumyabratachakraborty5239 2 года назад

      @@TechSavvy_ytube anyone way to contact you?

  • @rioal-dia.dompol703
    @rioal-dia.dompol703 2 года назад

    i cant install @tensorflow/tfjs-react-native

    • @cristinaprevidessantos5682
      @cristinaprevidessantos5682 2 года назад +1

      I got the same error, try to install like this @tensorflow/tfjs-react-native --legacy-peer-deps