Object detection app using YOLOv8 and Android

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

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

  • @Sunil-ez1hx
    @Sunil-ez1hx 7 месяцев назад +7

    You are such an amazing content provider for Professionals working in Artificial Intelligence & Data Science
    Thank you so much

  • @shantilalzanwar8687
    @shantilalzanwar8687 7 месяцев назад +2

    For long time waiting for this, thanks

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад +2

      You're welcome! I'm glad I could help 🙂

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

      @@CodeWithAarohi Thank you very much Ms. Aarohi 🤍

  • @arnavthakur5409
    @arnavthakur5409 7 месяцев назад

    EVery helpful & simple way of explaination

  • @TanishChandraVanshi
    @TanishChandraVanshi Месяц назад

    just show this video and got to know another legendary creator with low sub counts

  • @RijulKansal
    @RijulKansal 7 месяцев назад

    thank you maam for this video tutorial this will help me a lot in my new project

  • @pieropereira6150
    @pieropereira6150 7 месяцев назад +1

    YOU ARE BRILLIANT, BEAUTIFUL, THANK YOU SO MUCH. U SAVED ME.

  • @gohguoliang4566
    @gohguoliang4566 2 месяца назад

    I am curious to know the inference speed of the model on your device. what is the highest FPS you have acheived?

  • @baroksander152
    @baroksander152 7 месяцев назад

    thank you for this video. helped me and my friends so much you wouldnt even believe. i wish you best. i couldnt thank you enough

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      Glad to hear that! Good Luck 😊

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

      ​@@CodeWithAarohi while we were working on our project we trained and quantized our model. it runs at 400ms but we need it to be faster. we trained our model with yolov8 and converted this model to tflite. how can we make it faster, what would you recommend?

    • @umutozkan4148
      @umutozkan4148 2 месяца назад

      merhaba dostum acaba bu konuda proje yapıcam acaba senden veya başkasında faydalanabileceğim bir link veya başka github bırakabilirmisin teşekkürler

  • @neileva2847
    @neileva2847 Месяц назад

    hello maam, thank you so much for this. I implemented this using my custom dataset but i cant seem to figure out how to erase the bounding boxes when no objects are detected. can you help me? thank you!

  • @DigitalDuck-r4c
    @DigitalDuck-r4c 7 месяцев назад

    You are a true inspiration madam.Thanks a lot for the lessons.

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      Thank you so much for your kind words! I'm truly honored to have been able to inspire you🙂

  • @RoseDans
    @RoseDans 3 месяца назад

    Awesome, very helpful!, I have a question: If I would like to recognize a Pothole road with my App and also capture the GPS location, and store it in a table how can I do That in an android app? I am thinking in a car with a gopro camera connect to the android, while im driving i am detecting the quality of the street.

  • @iiezuok9667
    @iiezuok9667 4 месяца назад +1

    Great video. Can I ask what did you use to annotate your dataset?

    • @CodeWithAarohi
      @CodeWithAarohi  4 месяца назад

      LabelImg tool. You can install it by writing - pip install labelimg

  • @moammarqaddafi4858
    @moammarqaddafi4858 7 дней назад

    Will you create video on improving the model?

  • @Hasna-s9i
    @Hasna-s9i 2 месяца назад

    when I tried to export to tflite, i got error
    ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed.

  • @saimkhalid9520
    @saimkhalid9520 7 месяцев назад

    Great Work, would be very helpful

  • @matthewgatdula9020
    @matthewgatdula9020 Месяц назад

    Hello, I currently have a trained model in roboflow. How to integrate the model to an application by flutter?

  • @zakiriqbal1605
    @zakiriqbal1605 7 месяцев назад

    Very informative thanks for sharing

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      You're welcome! I'm glad you found the information informative.

  • @soravsingla8782
    @soravsingla8782 7 месяцев назад

    Impressive Content

  • @asmaal-faqueeh8353
    @asmaal-faqueeh8353 7 месяцев назад +1

    Thank you .. i want ask u .. How long did it take? and Is this command correct for conversion in cmd (yolo export model=yolov8n.pt format=tflite) ..

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      from ultralytics import YOLO
      # Load a model
      model = YOLO('yolov8n.pt') # load an official model
      model = YOLO('path/to/best.pt') # load a custom trained model
      # Export the model
      model.export(format='tflite')

  • @dopo8333
    @dopo8333 3 дня назад

    Where can I get the sample training dataset and the data.yaml file? Alternately, I would need the format of the label files.

    • @CodeWithAarohi
      @CodeWithAarohi  2 дня назад

      docs.ultralytics.com/datasets/detect/#ultralytics-yolo-format

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

    You are very good at what you do… trust me! After deploying it on android. How can I share the application or how someone else could get it

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

      Generate APK file and then upload the app on google play store.

  • @sukantasaha-ei9df
    @sukantasaha-ei9df 26 дней назад

    thanks for the video. Can I integrated this app to real time camera feed from a wireless camera

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

    Thanks a lot for the video. I have a question. @CodeWithAarohi why did you use kotlin instead of java like in yolov5 android app?

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

      Android Studio recommended it. When creating an app in Android Studio, there's an option to choose between Java and Kotlin. Since "recommended" is written next to Kotlin, I chose it. Additionally, some of my subscribers requested that I work with Kotlin :)

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

    hello, any suggestion how to optimise the app further so that the ms and the detection becomes faster? and maybe how to include int8 format?
    any links/suggestions/example projects on how to make the detection faster?
    thanks for any answer in advance

  • @_gledes_2383
    @_gledes_2383 7 месяцев назад +1

    How can I lower the MS. Currently on my phone it is around 800MS wich makes the detections have a significant delay

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

      Use a better mobile or quntaize the model

  • @rajmeetsingh1625
    @rajmeetsingh1625 7 месяцев назад

    thanks for sharing. Every time we have to connect the mobile phone with PC or is there any separate app icon is created on phone to run ?

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      To create a standalone app icon on your Android phone , you need to package your app into an APK file and install it on your phone. This way, you won't need to connect your phone to your PC every time you want to test the app.

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

    You're such an amazing professional. My new IDOL for now! Anyways, Did u have a not custom dataset. Its like its already made for tflite?

    • @CodeWithAarohi
      @CodeWithAarohi  6 месяцев назад +1

      I dont have. But the process will be same for custom dataset also. Just train your object detection model then convert it to tflite and use that tflite model in your android app.

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

      @@CodeWithAarohi Thanks, What I mean is that Do you have a ready-made models or datasets with various images? So that, I have variety of images than i can scan? Not only the fork and such?

    • @CodeWithAarohi
      @CodeWithAarohi  6 месяцев назад +1

      @pinocchio200 sorry, I don’t have. But you can use pretrained model like the pretrained model train on coco dataset which have 80 classes.

  • @muhammadnorirfan4957
    @muhammadnorirfan4957 7 месяцев назад +1

    hello maam , i cant convert the the dataset to tflite file , it cause my tensorflow version is not 1.13.1 , but when i want to pip install it , it says cannot find the tensorflow version , how can i fix this

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      You need to convert your trained model to tflite not dataset. To install temsorflow, just run pip install tensorflow

  • @GianmarcoGoycocheaCasas
    @GianmarcoGoycocheaCasas 5 месяцев назад

    Dear Madam Aarohi, Thank you very much for your contribution. I would like to know how I could complement the external annotations to the yolo model, for example 'supervision' annotations that set an object counter? The process you show also run in yolov9 right? I mean app processing

    • @CodeWithAarohi
      @CodeWithAarohi  5 месяцев назад

      Yes, but you need to make the changes to the code which is related to object detection model in order to fetch the detections.

    • @GianmarcoGoycocheaCasas
      @GianmarcoGoycocheaCasas 4 месяца назад

      ok thanks Madam, please when you have a time free you make a video ussing yolo and supervision for android. Thanks.

  • @nadaacomentar
    @nadaacomentar 7 месяцев назад

    how can i put the confidence of the image detect on the screen (like for example "label : confidance")?
    Thank you and great work

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      You can make changes in the file which is responsible for putting bounding boxes.

  • @alihajikaram8004
    @alihajikaram8004 7 месяцев назад

    Will you make any video for attention mechanism? (Like what you made for resnet50, that was amazing)

  • @fabulousfire8786
    @fabulousfire8786 7 месяцев назад

    hi ma'am, may I ask something, when I try to pip install tensorflow 2.13.1 inside jupyter. This error message appear: Could not find a version that satisfies the requirement tensorflow==2.13.1 (from versions: 2.16.0rc0, 2.16.1),
    Do you know what caused it and how to fix it? Thanks

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      This means that the pip version you are using don't have tensorflow 2.13.1. Now, to solve this issue there are 2 methods. 1st method is to downgrade the pip version and install tensorflow 2.13.1. 2nd method- Just install tensorflow 2.16.1 with your current pip version.

  • @nishanthselva7706
    @nishanthselva7706 3 месяца назад

    Hi maam,
    How did you install cuda and torch ??
    Can You please explain or If you have already video please share it here.?

    • @CodeWithAarohi
      @CodeWithAarohi  3 месяца назад +1

      Check this video from timestamp 4:00 ruclips.net/video/A-rzknbjp5M/видео.html

  • @wheein3261
    @wheein3261 7 месяцев назад

    Thank you very much for this video 💕Could the next video be about creating an audio feedback for this model using Spread-to-Text libraries etc. by Android Studio?🤭🙏

  • @TezasviAnand
    @TezasviAnand 2 дня назад

    Thank You!

  • @sergiodavidflorestavara5525
    @sergiodavidflorestavara5525 4 месяца назад +1

    i cant run the code in android studio, please help

  • @TrainingOne
    @TrainingOne 7 месяцев назад

    Thanks a lot Aarohi

  • @黃威凱-c4d
    @黃威凱-c4d 7 месяцев назад

    Add Configuration is empty , then can't run. How to fix ?

  • @New_Supra_One_
    @New_Supra_One_ 6 месяцев назад +1

    Miss, where is the confidence score? 🙃 I need that

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

      You can modify the code

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

      Please guide me, I know nothing about android studio🙏🏼

  • @HiloHilop
    @HiloHilop День назад

    thank you so much

  • @leonidas1983
    @leonidas1983 7 месяцев назад

    Great job as always! Thanks Aarohi. Do you sell online training?

  • @merveyavuz3111
    @merveyavuz3111 7 месяцев назад

    thanks for the tutorial, it was very helpful, I have a question, the model I created is running quite slow, it was much faster when I tried it directly on the yolov8 model in python, is this slowdown because I converted it to tflite or do I need to make improvements in the code

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      You can quantize your model. quantization can reduce the model size and improve inference speed. Also, make sure that the input data format matches what the model expects.

  • @Shaan_Tiwari
    @Shaan_Tiwari 7 месяцев назад

    Greeting Ma'am, can the YOLOv9 be used to classify the images as i am trying to build a project on image classification . Thank You

  • @yeongnamtan
    @yeongnamtan 7 месяцев назад

    thank you for the helpful tutorial. Would you consider doing one for object counting as an android app ?

  • @MilanJoshi-q4e
    @MilanJoshi-q4e 4 месяца назад

    Hello ma'am, can we use object detection and object classification at a same time?

    • @CodeWithAarohi
      @CodeWithAarohi  4 месяца назад

      Yes, you can. You can combine the results of both the models and display on each frame of video.

  • @sdevir123
    @sdevir123 Месяц назад

    where can i find the files in the yolov8_env folder to do the training... sorry for probably stupid question... thx

    • @CodeWithAarohi
      @CodeWithAarohi  Месяц назад

      yolov8_env folder is a folder which I have created myself. You create that folder yourself and then work under that folder. And don't say sorry and don't worry if a question is stupid or not, Important thing is you are trying and learning. Good Luck!🙂

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

    Does the int8 quantized TFLite file work with this app?

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

      I haven’t tested that but I think it will work.

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

    Hello mam. I have a YOLOv8 model for detecting 10 object. When I change the path with my model and labels the app crushes. your app is build to detect 4 object. what should i do to deploy a 10 object detecting model in your code?

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

      Make sure that you have done all the changes as per your custom dataset. In this video, I have explained all the changes you need to make.

  • @VishwaPatel-sk5oo
    @VishwaPatel-sk5oo 2 месяца назад

    Hello Aarohi,
    How can we display its percentage/size similar to how it's shown in a GitHub image, like 'spoon 0.92' or 'fork 0.84'?"
    Currently, as shown in the video, it only displays 'spoon' and 'fork' without the percentages.

    • @CodeWithAarohi
      @CodeWithAarohi  2 месяца назад +2

      You need to print the confidence scores also.

  • @PANCHALJAYKUMARGHANSHYAMBHAI
    @PANCHALJAYKUMARGHANSHYAMBHAI 7 месяцев назад

    really very helpful.
    Can you please upload image segmentation on android app?

  • @moammarqaddafi4858
    @moammarqaddafi4858 7 дней назад

    Can you please make new video using flutter with yolo11

  • @pengelana395
    @pengelana395 7 месяцев назад

    How to make the bounding box gone after a while? Can this use for yolov5 model? How to make detection more faster? How to show confident score beside class name?

    • @rogerioar
      @rogerioar 5 месяцев назад

      override fun onEmptyDetect() { binding.overlay.clear() }
      and modify clear (which is dead code anyway) to fun clear() { results = emptyList(); invalidate() }
      and add this if to draw() after the call to the super class
      if (results.isEmpty()) {
      canvas.drawColor(Color.TRANSPARENT)
      return}

  • @MegaBoss1980
    @MegaBoss1980 7 месяцев назад +1

    Will this work with yolov9

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      Haven't tried yet! Will test soon and let you know.

  • @marvicpagayao835
    @marvicpagayao835 7 месяцев назад

    Thankyou so much maam

  • @gangs0846
    @gangs0846 Месяц назад

    Is Yolo object detection offline or internet required?

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

    i am unable to run the app, "This app has stopped" did anyone know why is this happen? I use android 7 device

  • @luqmanabidoye7344
    @luqmanabidoye7344 5 месяцев назад

    The github code does not match the one shown in the video. No: step 2.... line in the code

    • @Pochii07
      @Pochii07 4 месяца назад

      same here

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

    When I try to train the model in vscode using gpu. Why it became hang my laptop?

    • @CodeWithAarohi
      @CodeWithAarohi  6 месяцев назад +1

      If your GPU doesn't have enough memory to handle the model and the training data, it can lead to hanging or crashing.

  • @HekKek
    @HekKek 3 месяца назад

    Can I use Android Studio Koala?

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

    could you please create YOLOv8 android app that use onnx

  • @shubhamb7272
    @shubhamb7272 5 месяцев назад

    Hi,
    Can we train the model on Mac's with M series?

    • @CodeWithAarohi
      @CodeWithAarohi  5 месяцев назад +1

      Yes, you can train although they may not match the speed of dedicated GPUs like those from NVIDIA.

  • @ommanojsharma7118
    @ommanojsharma7118 7 месяцев назад

    Mam you have made plenty of videos on yolo model
    Mam if possible could make a video human action recognition using lstm cnn and mediapipe
    Also make it end to end that would be great

  • @devpk1325
    @devpk1325 7 месяцев назад

    thank you safe my freelacer project

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      You're welcome! I'm glad I could help 🙂

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

    what is your python version? I tried with 3.9 and 3.11 and an error occurred when exporting to tflite

    • @CodeWithAarohi
      @CodeWithAarohi  6 месяцев назад +1

      Python 3.11.9

    • @andremedeiros5732
      @andremedeiros5732 6 месяцев назад +1

      @@CodeWithAarohi Thanks, I skipped the metrics part, I don't know if that was the problem, but it worked

  • @syedmuazuddin8721
    @syedmuazuddin8721 7 месяцев назад

    for fine tuning the model mam you took 2 GPUs but its throwing me an error when i run that on my machine
    i dont have 2 GPUs

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      write --device 0 for 1 gpu

    • @syedmuazuddin8721
      @syedmuazuddin8721 7 месяцев назад

      @@CodeWithAarohi thanks mam that issue is resolved but now i'm unable to find the data.yaml file from the github repo
      neither i am able to find the dataset which you used... is it not publicly available?

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      @@syedmuazuddin8721 you can get the dataset.yaml file from github.com/AarohiSingla/yolov5
      And you can download dataset from roboflow universe

  • @leejonh8638
    @leejonh8638 2 месяца назад

    Can I ask where the step_2-android_app ? because I count find it Plz answer me

    • @CodeWithAarohi
      @CodeWithAarohi  2 месяца назад

      github.com/AarohiSingla/Object-Detection-Android-App/tree/main/android_app/android_app

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

    Hi, first of all thank u for this amazing content. I want to ask you a question. I am trying to create a model based on YoloV8 to detect the color of the traffic light. I am having an issue that when I use the train model with the camera in video mode, the model takes a while but detect the traffic light but when I try to detect only by sending one frame, the detection is null. I do not understand why when you send multiple frames it gives you a better detection. Could you help me with this?
    Thank u

    • @mickkmax
      @mickkmax 4 месяца назад

      for detecting color is easier to get the color of the traffic light.

  • @shantilalzanwar8687
    @shantilalzanwar8687 5 месяцев назад

    getting error when trying to run the .pynb file.

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

    Hello! I'm here again. Not related. But is it possible to build an application or to train models with gesture recognition? I already made a static sign language translator but i want it to be dyamic. It can identify dynamic sign language. Is it possible? If yes, then how?

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

      Yes, you can do that. For that, train your model on sign language gestures. Then integrate the model into an application.

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

      @@CodeWithAarohi What tech should I use? Do you have references where i can visit?

  • @davidd1738
    @davidd1738 2 месяца назад

    do you have a full application code for this with UI?

  • @marvicpagayao835
    @marvicpagayao835 7 месяцев назад

    Is there a way to lower the MS maam? Can you teach us. Pleaseee

  • @khaledkhalaf1884
    @khaledkhalaf1884 7 месяцев назад

    can you do a react native integration with live feed camera in the two weeks that will helps a lot thank you

    • @CodeWithAarohi
      @CodeWithAarohi  7 месяцев назад

      I never worked with react native. So, not sure!

  • @cortex-technologies
    @cortex-technologies 5 месяцев назад

    Where did you provide the dataset ?

    • @gherbimaissa1430
      @gherbimaissa1430 6 дней назад

      You can provided any computer vision dataset since Roboflow

  • @sanjoetv5748
    @sanjoetv5748 7 месяцев назад

    can you do keypoints detection please? using yolov8 on android

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

    Thanks you very much

  • @fathaariyaprasetya9950
    @fathaariyaprasetya9950 5 месяцев назад

    thankyouuuu🙏🙏🙏🙏🙏🙏

  • @userytrghjsjsj
    @userytrghjsjsj 7 месяцев назад

    please make a video for yolov5 in kotlin

  • @SeaKart-p8k
    @SeaKart-p8k 4 месяца назад

    i need its documentation

    • @CodeWithAarohi
      @CodeWithAarohi  4 месяца назад

      I don't have any documentation but you can see the documentation on yolov8 here: docs.ultralytics.com/

  • @just_Rosey445_
    @just_Rosey445_ 7 месяцев назад

    thanks!

  • @Trollvideos1154
    @Trollvideos1154 7 месяцев назад

    Mam can you start Deepstream

  • @Anonymous20034
    @Anonymous20034 7 месяцев назад

    app code is there in repository?

  • @mghirbirahma4733
    @mghirbirahma4733 7 месяцев назад

    hi great job thank you for the video .... plz i need to be part of your memeber channel i need to learn more from you .. and have full folder of code plz help me

  • @bernardo23307
    @bernardo23307 7 месяцев назад

    Yolov5 to kotlin realtime🙏

  • @Hasna-s9i
    @Hasna-s9i 2 месяца назад

    I got an error "ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed. " when I tried to export to tflite