YOLOv8 Object Detection with Flask | Object Detection Web Application

Поділитися
Вставка
  • Опубліковано 3 жов 2024
  • Learn to Create AI Based Personal Protective Equipment Detection System for construction Site using YOLOv8 and Flask.
    ################################################
    For queries: You can comment in comment section or you can mail me at aarohisingla1987@gmail.com
    ################################################
    An AI based inspection system can reliably identify complex situations in real-time and clearly identify previously trained features (e.g. safety helmets & vests) - even under difficult viewing angles, light situations, weather conditions.
    In computer vision, real-time object detection is a very important task that is often a key component in computer vision systems.
    An object detector is an object detection algorithm that performs image recognition tasks by taking an image as input and then predicting bounding boxes and class probabilities for each object in the image. Most algorithms use a convolutional neural network (CNN) to extract features from the image to predict the probability of learned classes.
    What is YOLO in computer vision?
    YOLO stands for “You Only Look Once”, it is a popular family of real-time object detection algorithms. The original YOLO object detector was first released in 2016. It was created by Joseph Redmon, Ali Farhadi, and Santosh Divvala. At release, this architecture was much faster than other object detectors and became state-of-the-art for real-time computer vision applications. Since then, different versions and variants of YOLO have been proposed, each providing a significant increase in performance and efficiency. The versions from YOLOv1 to the popular YOLOv3 were created by then-graduate student Joseph Redmon and advisor Ali Farhadi. YOLOv4 was introduced by Alexey Bochkovskiy, who continued the legacy since Redmon had stopped his computer vision research due to ethical concerns. YOLOv8 is the latest official YOLO version created by the original authors of the YOLO architecture. We expect that many commercial networks will move directly from YOLOv4 to v8, bypassing all the other numbers.
    #objectdetection #python #flask #webapplicationdevelopment #webapp

КОМЕНТАРІ • 175

  • @sgt.simranjain6392
    @sgt.simranjain6392 9 місяців тому +3

    you are my saviour , i wish you all the success

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

      Thank you! Glad my video is helpful.

  • @HarshvardhanPandey-xl7yi
    @HarshvardhanPandey-xl7yi 8 місяців тому +4

    Great Video !!
    Can you please provide the Github link for this project

  • @Trends1234
    @Trends1234 Рік тому +3

    THANKS 🙏 , please share the notebook file in description

  • @DigitalDuck-r4c
    @DigitalDuck-r4c 4 місяці тому +1

    Madam will you suggest to use Django or Flask to integrate my YOLO v8 for my plant disease detection project? Which one do you think is better? And if possible can u make a video with Django and yolo v8?

    • @CodeWithAarohi
      @CodeWithAarohi  4 місяці тому +1

      I prefer to work with Flask but request noted. I will try to do a video after finishing my pipelined tasks.

    • @DigitalDuck-r4c
      @DigitalDuck-r4c 4 місяці тому

      @@CodeWithAarohi thank you madam.✨

  • @franklinpineda7815
    @franklinpineda7815 4 місяці тому

    Great explanation, thank you so much! you helped me with my thesis. Greetings from Colombia 👋

  • @trending-topics-us
    @trending-topics-us Рік тому +3

    can you provides the codes

  • @perk7777
    @perk7777 2 місяці тому +1

    Hello Arohi, can I get the GitHub repository or code for this project.
    Thank You

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      This code is available for channel members (Contribution level 2)

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

    Ma'am can you share the github link repo for the code

  • @nguyenhainamtlu
    @nguyenhainamtlu Рік тому +3

    How do I get the code?

  • @soravsingla8782
    @soravsingla8782 Рік тому +4

    Very informative video. Keep sharing such a valuable knowledge. Thank you

  • @UsmanKhan-ke8lx
    @UsmanKhan-ke8lx 7 місяців тому +1

    please share the notebook

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

    Mam your video so informative and useful. Mam make a video using YOLO v8 object detection and count the number of object in that picture or video. like count number of car going in a highway, number of people entering a store like this

  • @vrshinde1996
    @vrshinde1996 Рік тому +3

    Well Explained,
    please share the Code as well for Webcam and RTSP Stream

  • @bikramhalder8719
    @bikramhalder8719 2 місяці тому

    Can you share the code for this video ?

  • @christopherheimbuch3456
    @christopherheimbuch3456 8 днів тому

    I am having trouble with my app. It is performing object detection and in my console it is saying it is saving the images to runs/detect/predict, but the image is not actually there. Also, it isn't displaying the image after it should detect the object in my image. Can you help me or share your code?

    • @CodeWithAarohi
      @CodeWithAarohi  7 днів тому

      use these flags in your detection command. show=True, save=True Eg: model.predict("bus.jpg", save=True, imgsz=320, conf=0.5)

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

    How can YOLOv8 predict values by comparing its output class-by-class?"

  • @AdamMashaka-h6x
    @AdamMashaka-h6x 4 місяці тому

    Good explanation, but may i get a source code.?

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

    How we can live monitoring by using cctv camra detect object detection using yolov8

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

    Really well explained. Great resources for someone who want to learn in depth about yolo. Thanks a lot

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

    Hello, when I am running this code. My webpage shows an error of "IndexError: list index out of range". Can you assist me on how to solve this issue?

  • @pethome-v4s
    @pethome-v4s Місяць тому

    Really well expained. I want full code of app please can you share that with me.

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

      Hi, Sorry I missed your message. Can you please email me at aarohisingla1987@gmail.com

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

      Sent!

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

    Thank you 🙏 for this very useful video. Could I have the source code of the application?

  • @nagendrareddy6984
    @nagendrareddy6984 2 місяці тому

    where can i get that webapp code

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

    please provide source code

  • @Md.TasnimAlamRumman
    @Md.TasnimAlamRumman Рік тому

    Can you make a tutorial with license plate detection and recognition using flask?

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

    Thanks for your video. Would you like to providr the source code of this video?

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

    how to deploy the trained model on flask for real-time object detection? how can I make it? Please reply

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

      In this video, We are using a trained model in flask and then making predictions. You can write a function which will read the frames from webcam and on those frames call the Object detection trained model.

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

    Can you give me the code?

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

      Code is available for channel members(Contribution Level 2)

  • @santhoshk2883
    @santhoshk2883 25 днів тому

    Code please

    • @CodeWithAarohi
      @CodeWithAarohi  23 дні тому

      Code is available for channel members (Contribution level 2)

  • @PVProject-y9l
    @PVProject-y9l Рік тому

    please code please

  • @JustShorts-7
    @JustShorts-7 Рік тому

    Hi , how can we create a flask app that shows the live camera output with bounding box of desired object which is trained using yolo

  • @alola4034
    @alola4034 10 місяців тому

    At 14:39, can I customize image files with the file extensions PNG, JPG, JPEG instead of just receiving JPG? I'm having some problems deploying the yolov8 model to the web. If I register as a level 2 member, can I contact you about this video?

    • @CodeWithAarohi
      @CodeWithAarohi  10 місяців тому

      You can email me at aarohisingla1987@gmail.com

  • @aakashSharma-is9bk
    @aakashSharma-is9bk 7 місяців тому

    Hlo i want the code ..if i buy the subscription.how much time u will take to send me thr source code ?

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

    Hi. Can I have the code for this? I have sent you an email

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

    very helpful!!is that code similar like yolov7, or if you can provide the whole code please?

    • @CodeWithAarohi
      @CodeWithAarohi  6 місяців тому +1

      Rest of the code is same. You just need to do minor modifications where you are getting data from model.

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

    hello, could you please tell how to install cuda...its not working

    • @CodeWithAarohi
      @CodeWithAarohi  6 місяців тому +1

      You can download the exe file from here and then install it: developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exe_local

  • @monishkumarr08
    @monishkumarr08 10 місяців тому

    can u give github link for this yolov8 with flask with all sources mam.

    • @CodeWithAarohi
      @CodeWithAarohi  10 місяців тому

      This code is available for channel members (Contribution level 2)

  • @habessinourelhouda8
    @habessinourelhouda8 20 днів тому

    code source pleaaaase

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

      This code is available for channel members (Contribution Level 2)

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

      @@CodeWithAarohi how can i be a member?

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

      You can click on JOin button and s elect "Contribution Level 2" and follow on screen instructions.

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

    Thank you very much. Waiting for your video please that goes over the architecture of YOLOv8

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

    I want code I am ready to purchase

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

      Please contact at aarohisingla1987@gmail.com

  • @masbadunx1530
    @masbadunx1530 4 місяці тому

    Its possible using live streaming cctv?

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

    I have done join your level 2 members, can I get the code ma'am

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

      Please email me at aarohisingla1987@gmail.com and I will send you the code there

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

    I'm using the same PTfile is it useful for industrial recognizing ?

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

      You can use it but the effectiveness of the model in the real world depends significantly on the quality and diversity of the data used to train it.

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

    hey !! where i can find the source code for this?

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

      Mail me at aarohisingla1987@gmail.com

  • @science.20246
    @science.20246 Рік тому

    ❤❤❤❤

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

    👍👍👍

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

    Can we use the same code for detection with webcam?

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

    Well explained. How i can get the source code?

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

      Code is available for channel members(Contribution level 2)

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

    Please create the videos for the generation of new songs and videos from existing videos , means deep fake video. Thanks for advance

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

      Sure, In future when I will start the playlist on deep fake. I will cover the requested topic.

  • @vivekraj6542
    @vivekraj6542 4 місяці тому

    Provide the github link for that

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

    im getting an issue when im running it on my local (jupyter notebook) about memory error etc... i have 1650 with cuda enabled as well as i have created a seprated environment as well for training using gpu..
    can you tell me why this error is getting??? it occurs when i try to train my model

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

      Reduce batch size and then try.

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

      but how can i reduce the batch size if im using yolov8 as they havent mentioned any criteria of defining the batch size in their documentation?@@CodeWithAarohi

  • @tharunrajs9063
    @tharunrajs9063 11 місяців тому

    can u provide a video on where and how we can host it on the Internet

    • @CodeWithAarohi
      @CodeWithAarohi  11 місяців тому

      I did it for ML project. You can get idea from this: ua-cam.com/video/_Iq1P1Wz_RU/v-deo.html

  • @jensYSsck
    @jensYSsck 4 місяці тому

    Thank you so much. it really helped me

  • @Yuyoung.S
    @Yuyoung.S 10 місяців тому

    I would like to receive a related code, how can I do so?
    I signed up at level 2.

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

    Mam can i get the code of this project

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

      Please email me at aarohisingla1987@gmail.com

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

    please can you do the same concept but with real time object detection

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

      The code is same just provide the url of your webcam or RTSP stream in source.

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

    Can we use this as box counting and identification?

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

      You need to add the code for counting the boxes after detecting the object.

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

    can you do same with Angular as frontend

  • @josephdorman8010
    @josephdorman8010 11 місяців тому

    Which YOLO model did you use please?

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

    maam can i get code for this video needed it asap

  • @saikrishnasriram9739
    @saikrishnasriram9739 11 місяців тому

    mam can you share this code

    • @CodeWithAarohi
      @CodeWithAarohi  11 місяців тому

      Code is available for channel members

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

    Thanks, share it's code

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

      Code is available for channel members (Contribution level 2)

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

    Thank you ☺ Very well explained!
    Can you please share the dataset you used to train the model?

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

      I took this dataset from Roboflow100

    • @aqsatravellingstories
      @aqsatravellingstories 11 місяців тому

      @@CodeWithAarohi mam i mail u for this source code plz share i need this code for my fyp

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

    Hi,
    can you provide the dataset.

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

      You can download any 1 dataset from here: universe.roboflow.com/search?q=ppe%20detection

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

    Can we just get a video on yolov6 implementation using flask?Thanks

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

      Every thing will be same. Just load your yolov6 model where I have loaded yolov8 model. And just minor modifications are required to process the results generated by yolov6.

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

      @@CodeWithAarohi How can we do the same in Django? Please Help!

  • @andreeaisar3781
    @andreeaisar3781 10 місяців тому

    Hello! I am a level 2 subscriber, how can I get the full code for the application?

  • @Ajay-uc1tz
    @Ajay-uc1tz 8 місяців тому

    Mam in which cloud platform you are running this yolo model.

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

      Localhost

    • @Ajay-uc1tz
      @Ajay-uc1tz 8 місяців тому

      mam i generate a link by running a flask model but when i click on a link it show this site cannot be reached?@@CodeWithAarohi

    • @Ajay-uc1tz
      @Ajay-uc1tz 8 місяців тому

      Mam when i run a flask model it generates a link but when I click on that link it shows the site cannot be reached , can you help me regarding this ?

  • @aqsatravellingstories
    @aqsatravellingstories 11 місяців тому

    aoa mam mam can u share this code plzzzzzzzzzzzzzzzzzzz

    • @CodeWithAarohi
      @CodeWithAarohi  11 місяців тому

      This code is available for channel members(Contribution level 2)

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

    13:12

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

    Can I get the code?

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

      Code is available for channel members (Contribution Level 2)

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

    Source code??

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

      This code is available for channel members (Contribution level 2)

  • @AYUSHRAJ-n4k
    @AYUSHRAJ-n4k 9 місяців тому

    Awesome this video helps me in the completion of my project.

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

      Glad I could help!

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

      hello iam doing this as my project can u help me...if u can then provide any of ur contact

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

    does it work with model created with yolov5?

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

      Yes but you need to do minor changes while processing the results

  • @joaquinomarcastillosalazar4098

    thank you for the explanation, how could i become a member to get the code?

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

      You can click on the join button on my channel ( ua-cam.com/channels/gHDngFV50KmbqF_6-K8XhA.html ) and go to Contribution level 2 to become a member.

    • @jacoboomar-pe3zm
      @jacoboomar-pe3zm Рік тому

      @@CodeWithAarohi ya me hice miembro nivel 2, could you share the code?, thank you :)

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

      @@jacoboomar-pe3zm code sent

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

    ur the best❤❤❤❤❤

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

    Thank you ☺ Very well explained! can you share the code please.

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

      Code is available for Members

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

      Hi there how can I get Thai source code I am ready for pay

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

      This

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

      @@CodeWithAarohi I need this source code I am ready for pay

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

      @@awaixasad7937 please email me at aarohisingla1987@gmail.com

  • @PavanReddy-xl1uu
    @PavanReddy-xl1uu Рік тому

    error
    cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp:692: error: (-2:Unspecified error) could not find a writer for the specified extension in function 'cv::imwrite_'
    how to fix this error?

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

      Make sure that the file extension you are using is supported by OpenCV. The supported file extensions depend on the version of OpenCV you are using and the image format you are trying to save. Some common file extensions that OpenCV supports include .jpg, .png, .bmp, and .tiff.

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

      @@CodeWithAarohi hi! I am using OpenCV 4.7.0 and my file extension is .jpg but I am still getting the same error. How do I fix it?

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

      @@rania1040 same error with me...

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

      @@CodeWithAarohi Hi Aarohi, it's same error with me. my file extension is .jpg & .mp4 but i still getting the same error. can u please help?

    • @BasmaFares-jy1sq
      @BasmaFares-jy1sq Рік тому

      same error

  • @yashmohite4612
    @yashmohite4612 11 місяців тому

    can you share github link of this project

    • @CodeWithAarohi
      @CodeWithAarohi  11 місяців тому +1

      This code is available for channel members (Contribution level 2)

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

    Can you provide the GitHub repo for these files??

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

    I am a member with level 2 category...so please send me this code
    I sent you a mail

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

      Sent!

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

      Madam...we couldn't get the code which you had run in the jupyter notebook at 3 min 30 secs so could you please provide the necessary code in order to train the model

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

    Can you build a use case to identify the absence of certain required objects using Yolo V8 . For example , build a solution that can highlight those workers who are not wearing the required safety equipments using Yolo V8

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

    Hi @CodeWithAarohi Can you share me this code, I am ready for pay. Thanks