КОМЕНТАРІ •

  • @wajadadkarim1708
    @wajadadkarim1708 2 роки тому +1

    Thanks, dude it's working. 5x slower than the MobileNet algorithm that I used. Needs some improvements.
    Raspberrypi 4B
    2GB RAM
    Pi camera
    armv7l

  • @ameer-alahmadi
    @ameer-alahmadi 7 місяців тому +2

    Hi, first thank a lot fore your explanation. I just want to know for the raspberry pi does it make a difference in performance if I use 2, 4, or 8 GB RAM?

  • @nasimreza9492
    @nasimreza9492 Рік тому +2

    hi, How can we do it with custom data set? It is already a pre-trained, model. Is it possible to use our own dataset?

  • @readystudygo5091
    @readystudygo5091 Рік тому +1

    nice video BTW can we also use a raspberry pi 3 model B+ for the custom object detection ? and can you also record a video for this as well by using the raspberri pi?
    Thanks

  • @gbox3d
    @gbox3d 3 роки тому +2

    great work!!

  • @faceprofesor
    @faceprofesor 2 роки тому

    Thank you for the video. How do you pass the UA-cam image through the yolo?

  • @zubaidahsabah7948
    @zubaidahsabah7948 3 роки тому +2

    great work! how can we implement this using tiny version, i suppose it would be faster

  • @user-ox7nc8jv8q
    @user-ox7nc8jv8q 3 роки тому

    Did you install the 2.2 version of tension flow?

  • @jarbozhang3682
    @jarbozhang3682 3 роки тому

    thx for the video, can you use the sci camera with this 64bit version system? i have found many solutions, but no one is useful. I guess that's the reason why you use the usb web camera?

  • @singgihbekti969
    @singgihbekti969 2 роки тому

    can we deploy in raspberry pi 3? does it support with pytorch? or any pytorch version? thank you

  • @betulsahin5419
    @betulsahin5419 2 роки тому

    How can i download yolov5 to raspberry pi 3b+ I couldn't find anywhere. Can you help me about this?

  • @f_bian
    @f_bian 3 роки тому +1

    We can't install torch, it gives the following error.. Do you have any idea on how to solve this? Thanks!
    Could not find a version that satisfies the requirement torch>=1.0.0 (from thop) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)

    • @DeepLearning004
      @DeepLearning004 3 роки тому +1

      I already have a tutorial about it here, ua-cam.com/video/weHvI6j4OT8/v-deo.html
      pytorch installation tutorial for raspberry pi.
      Please subscribe the channel :)

  • @user-sd9ex3ni5m
    @user-sd9ex3ni5m 2 роки тому

    I am facing problem with installing opencv-python , it sys that object is not iterable , how can i fix it , if would you please

  • @himomhey3437
    @himomhey3437 2 роки тому +1

    How many Gb for a raspberry pi to run YOLOv5 like in this video?

  • @shahedobaid1885
    @shahedobaid1885 Рік тому

    sir why do i get "Illegal instruction" when i run the file??

  • @nanakwamekankam1281
    @nanakwamekankam1281 8 місяців тому

    I get a "Segmentation Fault" error when I run the inference. Any help?

  • @Supik.
    @Supik. 5 місяців тому

    Is it the same way for the yolov3-tiny?

  • @rielt12
    @rielt12 2 роки тому

    did you use a movidius stick?

  • @kashishnaqvi4708
    @kashishnaqvi4708 2 роки тому

    Can I use this on raspberri pi 3 b ?

  • @kashishnaqvi4708
    @kashishnaqvi4708 2 роки тому

    Hey amazing tutorial, can you help me out on how to provide audio output for the detected objects? which code to edit and how to edit? Thanks in advance!

    • @danani3199
      @danani3199 2 роки тому

      Did you ever figure it out for the audio output?

    • @chandanan953
      @chandanan953 2 роки тому

      Did you figure out the solution for audio output?

  • @asdftw6146
    @asdftw6146 2 роки тому

    i need help! i keep getting this even running on python 3.7.3 on my rpi.
    File "detect.py", line 73
    stride, names = 64, [f'class{i}' for i in range(1000)] # assign defaults
    ^
    SyntaxError: invalid syntax

    • @user-xo9qr4mw5w
      @user-xo9qr4mw5w 2 роки тому

      I think you should check on detect.py line 73 and see if there is invalid syntax literally... cause I think there should not be a comma, there should be a ; or a newline...
      like "stride, names = 64; [f'class{i}' for i in range(1000)] # assign defaults"

  • @kashishnaqvi5639
    @kashishnaqvi5639 Рік тому

    Hey in mine, it says no command pip3
    pls help

  • @aysebeyzaunal3472
    @aysebeyzaunal3472 3 роки тому

    are you using a virtual space to do the arguiments? like in ubuntu with virtual box

    • @DeepLearning004
      @DeepLearning004 3 роки тому +1

      no

    • @aysebeyzaunal3472
      @aysebeyzaunal3472 3 роки тому +1

      can i do it in windows?

    • @DeepLearning004
      @DeepLearning004 3 роки тому

      @@aysebeyzaunal3472 yes you can, you need to install pytorch

    • @aysebeyzaunal3472
      @aysebeyzaunal3472 3 роки тому +1

      @@DeepLearning004 ok thanks

    • @aysebeyzaunal3472
      @aysebeyzaunal3472 3 роки тому

      @@DeepLearning004 sir, can i use an arduino leonardo with tensorflow lite? Because in fonction of the object , I have to light the leds.

  • @ajsirhzz75
    @ajsirhzz75 6 місяців тому

    Does it run in 32 bit bulleyes os??

  • @merondesta3895
    @merondesta3895 2 роки тому

    can i do that using raspberry pi 3?

  • @kaveeshamadhubhashana3094
    @kaveeshamadhubhashana3094 2 роки тому

    bro please can you tell me how can i attach custom trained dataset inside to the this projects

    • @jervx829
      @jervx829 2 роки тому +1

      train on colab, then download the weights best.pt. also download yolov5 repo. then use this to load the yolov5 repo locally and the weights
      torch.hub.load(
      YOLO_DIR,
      'custom',
      path=WEIGHTS_DIR,
      source='local',
      device = 'cpu',
      force_reload=True
      )

  • @narpat007
    @narpat007 2 роки тому +4

    Excellent ! I have just three questions;
    1. can it handle realtime 1080p h264 video stream or atleast 720 h264 video stream ?
    2. What is the maximum frame rate achievable with Pi4B 4GB as it is ?
    3. what is the cheapest solution to get framerate atleast 25pfs ?

    • @Unfreeze007
      @Unfreeze007 Рік тому

      Same Questions, did you get your answers?

    • @vungochoa6882
      @vungochoa6882 Рік тому

      Cùng câu hỏi. Mình đang chạy yolo v4 trên pi 4 4gb sử dụng cam 1080p đang fps có 0,6. Bạn thực nghiệm 360 chưa chạy ok ko

  • @smitpanchal9866
    @smitpanchal9866 2 роки тому

    I can't install pytorch on raspberry pi 3 B+ ...!

  • @viktorrrrrr
    @viktorrrrrr 2 роки тому

    Hey guys, I get a silly question. How can I know the IP of raspberry pi on my laptop?

  • @konkoboaxel8887
    @konkoboaxel8887 3 роки тому +2

    hi, I tried to install the yolov5 but at the step "python3 detect.py --source data / images --weights yolov5s.pt --conf 0.25" my ssh disconnects at fusing layers ...
    how to solve this please

    • @DeepLearning004
      @DeepLearning004 3 роки тому

      When you connect raspberry pi using ssh, it doesn't have a display, so, it crash when you run the program. Try to connect to your pi device using remote desktop, and then run the program from remote desktop then it should work. I have a tutorial for that here: ua-cam.com/video/RvPNc_3abYs/v-deo.html

    • @konkoboaxel8887
      @konkoboaxel8887 3 роки тому

      @@DeepLearning004 I use vncviewer, but it disconncects

    • @DeepLearning004
      @DeepLearning004 3 роки тому

      Is there any error message?
      Is raspberry pi reboots, or just vnc disconnects?

    • @konkoboaxel8887
      @konkoboaxel8887 3 роки тому

      @@DeepLearning004 I think the raspberry is restarting because everything disconnects the ssh, the remote desktop(vncviewver), without error. But I am testing xrdp and it gives me errors "...... magic_number = pickle_module.load (f, * * pickle_load_args)
      EOFError: Ran out of input "

    • @DeepLearning004
      @DeepLearning004 3 роки тому

      @@konkoboaxel8887 Is raspberry pi connected to internet? when you run the code?

  • @MrDUMBINATOR
    @MrDUMBINATOR 2 роки тому

    Hi, im stuck in the installation process for pandas, this happened with opencv as well. Can you help?
    Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.7.3->pandas) (1.12.0)
    Building wheels for collected packages: numpy
    Building wheel for numpy (pyproject.toml) ... -

  • @thanhan4046
    @thanhan4046 Рік тому

    Can you give me link your raspberry OS you using???

  • @yilberrojas8306
    @yilberrojas8306 3 роки тому +1

    Good.

  • @itcctvshop
    @itcctvshop 2 роки тому

    Nice Video , How to use edgeTPU USB from google product? sir

  • @ilhancakmak79
    @ilhancakmak79 2 роки тому

    How can i use it by webcam? Thanks sir

  • @kotraner
    @kotraner 3 роки тому

    any suggestion to increase fps...? its too slow even with tiny weight

    • @AshokKumar-mg1wx
      @AshokKumar-mg1wx 2 роки тому +2

      model quantization

    • @AshokKumar-mg1wx
      @AshokKumar-mg1wx 2 роки тому +1

      Dynamic range quantization 4x smaller, 2x-3x speedup CPU
      Full integer quantization 4x smaller, 3x+ speedup CPU, Edge TPU, Microcontrollers
      Float16 quantization 2x smaller, GPU acceleration CPU, GPU

  • @swoffiam7561
    @swoffiam7561 Рік тому

    i got this error : No module name Ultralytics
    but in your video, you not install Ultralytics Module. How your code still works properly

    • @denigajah6369
      @denigajah6369 19 днів тому

      late reply but just pip3 install ultralytics

  • @abdurrazzak1612
    @abdurrazzak1612 3 роки тому +1

    cool and greate

  • @kashishnaqvi4708
    @kashishnaqvi4708 2 роки тому +1

    I want to do this on my raspberry pi 3b and give an audio output for objects for blind people. Can you help me?

    • @DeepLearning004
      @DeepLearning004 2 роки тому

      i will make a tutorial video about how to get audio output from yolov5 object detection in few days. Please support my channel at www.buymeacoffee.com/biplob004

    • @kashishnaqvi4708
      @kashishnaqvi4708 2 роки тому +1

      @@DeepLearning004 That's great. Can you check if I'm added to your supporter list?
      I don't want to sound impolite however I need to learn it for my school work and present it really soon. How long would it take for the video? and can you tell me how can we add our own dataset to the existing coco classes? like if i want to add classes for currency as well?

    • @DeepLearning004
      @DeepLearning004 2 роки тому

      @@kashishnaqvi4708 Hello, here is code that output audio : drive.google.com/file/d/1p2Hrs7tEOBZG2n-uQ8LuaY4lZc3fJX-w/view?usp=sharing

    • @DeepLearning004
      @DeepLearning004 2 роки тому

      Just run the run.py file and it will start working if all required python libraries are installed. Else see error message and download required python module/library.

    • @DeepLearning004
      @DeepLearning004 2 роки тому

      I have code update, with little more code, let me know, if you need it.

  • @luizcarlosmarquesjunior.9468
    @luizcarlosmarquesjunior.9468 3 роки тому

    Great video! What was the FPS for real time detection on the Raspberry Pi?

    • @DeepLearning004
      @DeepLearning004 3 роки тому +1

      FPS changes with image size, and model you choose to predict. i guess using 360p resolution, it was taking 1.2 sec to process one image on yolov5s.pt model

    • @vishalsinha8614
      @vishalsinha8614 3 роки тому

      Were you able to try peripherals to improve the FPS by any chance? Something like Coral accelerator?

    • @ngocluu8366
      @ngocluu8366 3 роки тому

      @@vishalsinha8614 try to overclock your rasp4, you will need a fan for the cpu and make it detect every 3 frames instead of every frame like the default way. by this, i have archived 5fps on rasp4

    • @minhhuy499
      @minhhuy499 3 роки тому

      @@ngocluu8366 so what is your over_voltage and arm_freq in config file?

  • @user-xp2fo8ft2u
    @user-xp2fo8ft2u 3 роки тому

    Everything's going well, but when you predict it with a webcam, Raspberry Pie doesn't show the video in real time and just finishes detecting it. Is there a solution?

    • @DeepLearning004
      @DeepLearning004 3 роки тому

      instead of doing --source data/images
      do it like --source 0

    • @user-xp2fo8ft2u
      @user-xp2fo8ft2u 3 роки тому

      @@DeepLearning004 Thank you for your prompt reply!!!
      I know as you replied, but only this result comes out.

    • @DeepLearning004
      @DeepLearning004 3 роки тому

      @@user-xp2fo8ft2u Is it fixed the problem?

    • @user-xp2fo8ft2u
      @user-xp2fo8ft2u 3 роки тому

      @@DeepLearning004 drive.google.com/file/d/12K38FEvhnE5FnUYfKlG0aTWKNldRfmNe/view?usp=sharing

    • @user-xp2fo8ft2u
      @user-xp2fo8ft2u 3 роки тому

      @@DeepLearning004 It's the same situation as the picture.

  • @ayamejri5183
    @ayamejri5183 2 роки тому

    raspberry pi 4 4 gb ram or 8 gb ?

  • @nanthini2898
    @nanthini2898 7 місяців тому

    Bro its asking username, password why its asking in terminal

  • @megauti
    @megauti 13 днів тому

    It is too (extremely) slow on R-pi 4.

  • @mertenesyurtseven4823
    @mertenesyurtseven4823 2 роки тому

    Greetings from Turkey! I am a member and mentor of my FRC team "Conquera". We are using yolov5n on rasbery pi 4 8gb with 208 img size which provide 7 fps. But we need more. Can you help?

    • @DeepLearning004
      @DeepLearning004 2 роки тому +1

      u can use jetson nano to speed up.

    • @sshubam
      @sshubam 2 роки тому +1

      main reason would be because the webcam you are using does not have h.264 encoding so its computationally heavy on the pi. You should use the official raspberry pi 4 camera which uses h.264 encoding and will probably give you a much higher frame rate.

    • @sshubam
      @sshubam 2 роки тому +1

      else use tensorflow lite

  • @ElectroCoderEC
    @ElectroCoderEC 9 місяців тому

    why is so slow??

  • @huyvanba2943
    @huyvanba2943 3 роки тому

    I can detect with image, video smoothly but when use the camera ( source 0), it have a error like this img drive.google.com/file/d/1mSL7vomkHu60cgqiNOU4YAiQp4r0a06U/view?usp=sharing