YOLOv8 Object Detection with Flask | Object Detection Web Application
ฝัง
- เผยแพร่เมื่อ 28 มี.ค. 2023
- 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 - วิทยาศาสตร์และเทคโนโลยี
Very informative video. Keep sharing such a valuable knowledge. Thank you
It's my pleasure
Really well explained. Great resources for someone who want to learn in depth about yolo. Thanks a lot
Glad my video helped you
you are my saviour , i wish you all the success
Thank you! Glad my video is helpful.
Thank you very much. Waiting for your video please that goes over the architecture of YOLOv8
As soon as possible
Awesome this video helps me in the completion of my project.
Glad I could help!
hello iam doing this as my project can u help me...if u can then provide any of ur contact
How we can live monitoring by using cctv camra detect object detection using yolov8
👍👍👍
❤❤❤❤
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
Will try to do soon
Great Video !!
Can you please provide the Github link for this project
Can you make a tutorial with license plate detection and recognition using flask?
THANKS 🙏 , please share the notebook file in description
ur the best❤❤❤❤❤
Thank you 🙂
Well Explained,
please share the Code as well for Webcam and RTSP Stream
Will cover that in my upcoming video
Thank you so much. it really helped me
Glad it helped!
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
Will cover soon
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?
How can YOLOv8 predict values by comparing its output class-by-class?"
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?
I prefer to work with Flask but request noted. I will try to do a video after finishing my pipelined tasks.
@@CodeWithAarohi thank you madam.✨
Ma'am can you share the github link repo for the code
How do I get the code?
I'm using the same PTfile is it useful for industrial recognizing ?
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.
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?
You can email me at aarohisingla1987@gmail.com
Great explanation, thank you so much! you helped me with my thesis. Greetings from Colombia 👋
Glad it helped!
Thank you ☺ Very well explained!
Can you please share the dataset you used to train the model?
I took this dataset from Roboflow100
@@CodeWithAarohi mam i mail u for this source code plz share i need this code for my fyp
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
Reduce batch size and then try.
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
Can we use this as box counting and identification?
You need to add the code for counting the boxes after detecting the object.
how to deploy the trained model on flask for real-time object detection? how can I make it? Please reply
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.
can you provides the codes
please can you do the same concept but with real time object detection
The code is same just provide the url of your webcam or RTSP stream in source.
Thanks for your video. Would you like to providr the source code of this video?
where can i get that webapp code
Which YOLO model did you use please?
yolov8-n
Its possible using live streaming cctv?
Yes
can you do same with Angular as frontend
I never used Angular so don't know
Mam in which cloud platform you are running this yolo model.
Localhost
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
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 ?
Good explanation, but may i get a source code.?
Thank you 🙏 for this very useful video. Could I have the source code of the application?
This code is for members.
can u provide a video on where and how we can host it on the Internet
I did it for ML project. You can get idea from this: th-cam.com/video/_Iq1P1Wz_RU/w-d-xo.html
Can we just get a video on yolov6 implementation using flask?Thanks
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.
@@CodeWithAarohi How can we do the same in Django? Please Help!
does it work with model created with yolov5?
Yes but you need to do minor changes while processing the results
Can we use the same code for detection with webcam?
yes
13:12
very helpful!!is that code similar like yolov7, or if you can provide the whole code please?
Rest of the code is same. You just need to do minor modifications where you are getting data from model.
hello, could you please tell how to install cuda...its not working
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
I would like to receive a related code, how can I do so?
I signed up at level 2.
Sent. Check your mail.
Please create the videos for the generation of new songs and videos from existing videos , means deep fake video. Thanks for advance
Sure, In future when I will start the playlist on deep fake. I will cover the requested topic.
thank you for the explanation, how could i become a member to get the code?
You can click on the join button on my channel ( th-cam.com/channels/gHDngFV50KmbqF_6-K8XhA.html ) and go to Contribution level 2 to become a member.
@@CodeWithAarohi ya me hice miembro nivel 2, could you share the code?, thank you :)
@@jacoboomar-pe3zm code sent
please share the notebook
hey !! where i can find the source code for this?
Mail me at aarohisingla1987@gmail.com
Thank you ☺ Very well explained! can you share the code please.
Code is available for Members
Hi there how can I get Thai source code I am ready for pay
This
@@CodeWithAarohi I need this source code I am ready for pay
@@awaixasad7937 please email me at aarohisingla1987@gmail.com
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
Yes, we can do that.
can u give github link for this yolov8 with flask with all sources mam.
This code is available for channel members (Contribution level 2)
Can you share the code for this video ?
I have done join your level 2 members, can I get the code ma'am
Please email me at aarohisingla1987@gmail.com and I will send you the code there
Well explained. How i can get the source code?
Code is available for channel members(Contribution level 2)
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?
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.
@@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?
@@rania1040 same error with me...
@@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?
same error
Provide the github link for that
Hello! I am a level 2 subscriber, how can I get the full code for the application?
Please email me aarohisingla1987@gmail.com. I will mail you the code there.
Sent!
Can I get the code too please?
Hi,
can you provide the dataset.
You can download any 1 dataset from here: universe.roboflow.com/search?q=ppe%20detection
Hlo i want the code ..if i buy the subscription.how much time u will take to send me thr source code ?
You will get the code immediately.
Can you provide the GitHub repo for these files??
This video's code is for channel members only.
@@CodeWithAarohi How can I be a channel member miss ?
@@rajagopalsandeesh4911 reply?
maam can i get code for this video needed it asap
Hi, mail me at aarohisingla1987@gmail.com
can you share github link of this project
This code is available for channel members (Contribution level 2)
Thanks, share it's code
Code is available for channel members (Contribution level 2)
Can I get the code?
Code is available for channel members (Contribution Level 2)
Mam can i get the code of this project
Please email me at aarohisingla1987@gmail.com
I want code I am ready to purchase
Please contact at aarohisingla1987@gmail.com
aoa mam mam can u share this code plzzzzzzzzzzzzzzzzzzz
This code is available for channel members(Contribution level 2)
mam can you share this code
Code is available for channel members
please code please
Can you give me the code?
Code is available for channel members(Contribution Level 2)
please provide source code
I am a member with level 2 category...so please send me this code
I sent you a mail
Sent!
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
Hi. Can I have the code for this? I have sent you an email
Yes, sure
Source code??
This code is available for channel members (Contribution level 2)
Hi @CodeWithAarohi Can you share me this code, I am ready for pay. Thanks
Email me at aarohisingla1987@gmail.com