Very good video. I have a question. I did all the steps but the original versions of my images are cropped. I want the image to keep its original size. How can I do it?
You mentioned that the images are available in the "resources". Where is that? I'd like to download all of them so I can follow along with your tutorial.
Hey, Can you please provide the link to data-images. The one which you provided in the resources is not working. please, please... it will help a lot. Thank you so much
how can i integrate this code with a python program that shows traffic light system in which it turn the light to green once it detects the ambulance on the junction
I am experiencing an error on when attempting to execute df[cols] = df[cols].astype(int). After running in the jupyter notebook as well as a fresh env i am still experiencing this. anyone else having a similar issue?
what's error in this when run the final part of video this error pop up= AttributeError: 'tuple' object has no attribute 'flatten' in line 80 pf python file ????
getting error for the line - train_df['id'] = train_df['name'].apply(label_encoding) if anyone has been able to solve, please reply with a solution at time 1:01:23
The very pathetic kind of video so far! No explanation of anything, just coding to achieve the specific results on specific image... Really disappointed!
D:\UDEMY\TRAIN YOLO FOR OBJECT DETECTION\yolo_venv>Scripts\activate (yolo_venv) D:\UDEMY\TRAIN YOLO FOR OBJECT DETECTION\yolo_venv>pip install -r requirements.txt ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
This is the error getting. can you plz help me out error Traceback (most recent call last) in 1 # load YOLO model 2 ----> 3 yolo = cv2.dnn.readNetFromONNX("./Model/weights/best.onnx") 4 yolo.setPreferableBackend(cv2.dnn.DNN_BACKEND_OPENCV) 5 yolo.setPreferableBackend(cv2.dnn.DNN_TARGET_CPU) error: OpenCV(4.5.3) D:\bld\libopencv_1632857399304\work\modules\dnn\src\onnx\onnx_importer.cpp:2146: error: (-2:Unspecified error) in function 'cv::dnn::dnn4_v20210608::ONNXImporter::handleNode' > Node [Split]:(/model.24/Split_output_0) parse error: OpenCV(4.5.3) D:\bld\libopencv_1632857399304\work\modules\dnn\src\layers\slice_layer.cpp:187: error: (-215:Assertion failed) splits > 0 && inpShape[axis] % splits == 0 in function 'cv::dnn::SliceLayerImpl::getMemoryShapes' >
This occurs when you are exporting the model in best.onnx format. Try using export your model by setting opset and image length and width and hope your problem will be solved.
This video is very interesting, thank you for sharing your knowledge and insights.
The best video on YOLO+OpenCV object detection and tracking,
Thank you very much, Sir!
did you collect the images of your own?
did u collect the data individually
is there a place where i can find the downloaded images with labeled data?
Great Work
Amazing Video, Thank you for sharing this video.
laura
That's an amazing video sir...can we do the same in other IDEs like Vs code so that I can create user interface for the same model.
Great❤❤❤
learning .
Its super helpful
Very good video. I have a question. I did all the steps but the original versions of my images are cropped. I want the image to keep its original size. How can I do it?
Thank you sir! your explanation is simply amazing.....
laura
your video is very nice
it is showing not responding on running cv2.imshow('yolo_prediction,image) what to do please help
Amazing resource 👍 Thank you for this !! Looking forward to many more 🙂
can you share the resources with me? i can't images..please help me
Excellent work! Congrats
laura
Great course 👍
Thank you sir for this project
this is great tutorial. thank you very much
Thank you so much. Your video is great for beginers like me
laura
did u collect the data individually
is there a place where i can find the downloaded images with labeled data?
great work 👍
Great tutorial thanks a lots. Much respect you sir.
laura
permission to learn sir. thank you
You mentioned that the images are available in the "resources". Where is that? I'd like to download all of them so I can follow along with your tutorial.
did u find the solution ? cause i need help with the same issue
its not availabel even in resources
thank you for your great effort. but unfortunately the data images URL you provide does not exist.
please re sent the correct URL
True, so are you waiting for data folder or you just created your own?
@@thekidwithadream waiting for data folder
Hey did, you made your own ? Could you please share me.. Thank you in advance
Thank you Sir for this project Great Explanation
did you collect data manually?
@@sneha..9188 same question is there a place where i can find the downloaded images with labeled data?
Awesome!!
Thanks for the video!!
The google drive link is not working kindly look into it as I am not able to see the images you used
same here
This is great, can you share the project/github?
Hey, Can you please provide the link to data-images. The one which you provided in the resources is not working. please, please... it will help a lot. Thank you so much
did you get the data images? please help me too
thanks for helping .. but resources is not opening in google drive .. data images
.please can you share that
Can you please provide the data images folder properly..in resources you have given it shows the page is not found
did u find the data images folder?
had to leave the Video in between because of Lack of Images in the provided Resources.
Could you please share the dataset that you have used? I checked your folder but the link of dataset is showing page not found.
Great!!! Thank you so much!!!
Hi can u help me in this project...
U have complete this project...
Can you please tell me how to use this model for real time detection using webcam
Please make a video on yolov8
Hi, Can you do it for the version now with YOLOv8
Can't find the image file the google drive link is not working
did u find the solution ? cause i need help with the same issue
why do you use v5 instead of v8 ? is it license issue for use?
i got error when img_pred = yolo.prediction(img ) unsupport operand type(s) for :-
If I had label = V457P08219 for a dataset of images, how to encode this label ???? Please, I need an answer. Thanks.
What changes i have to make in order to make it a real time object detector?????
how can i integrate this code with a python program that shows traffic light system in which it turn the light to green once it detects the ambulance on the junction
can we use the web cam also?
can this be used in a soccer game for stats?
Can u do a video about detectron2
I am experiencing an error on when attempting to execute df[cols] = df[cols].astype(int). After running in the jupyter notebook as well as a fresh env i am still experiencing this. anyone else having a similar issue?
there is no image resources, please give us its link
this GPU facilities only for one time ???
i cant find the data images can you please give the links thanks you very much
can you please share the image data drive link, the given is not working
there are no images folder in the resource link
How to check the accuracy of the model pls tell me sir
I'm getting error while loading yolo model in onnx format in yolo_predictions.ipynb
hello sir images folder doesnt exist message pop up please update the latest images folder
Can anybody please send the labeled dataset ??
what's error in this when run the final part of video this error pop up= AttributeError: 'tuple' object has no attribute 'flatten' in line 80 pf python file ????
i am facing the same problem
Sir image resources link is not working
while doing label encoading
# label encoding
def label_encoding(x):
labels = {'person':0, 'car':1, 'chair':2, 'bottle':3, 'pottedplant':4, 'bird':5, 'dog':6,
'sofa':7, 'bicycle':8, 'horse':9, 'boat':10, 'motorbike':11, 'cat':12, 'tvmonitor':13,
'cow':14, 'sheep':15, 'aeroplane':16, 'train':17, 'diningtable':18, 'bus':19}
return labels[x]
train_df['id'] = train_df['name'].apply(label_encoding)
test_df['id'] = test_df['name'].apply(label_encoding)
this error occurs
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[30], line 1
----> 1 train_df['id'] = train_df['name'].apply(label_encoding)
2 test_df['id'] = test_df['name'].apply(label_encoding)
File E:\YoloV8\yolo_object_detection\Notes\yolo_venv\Lib\site-packages\pandas\core\series.py:4630, in Series.apply(self, func, convert_dtype, args, **kwargs)
4520 def apply(
4521 self,
4522 func: AggFuncType,
(...)
4525 **kwargs,
4526 ) -> DataFrame | Series:
4527 """
4528 Invoke function on values of Series.
4529
(...)
4628 dtype: float64
4629 """
-> 4630 return SeriesApply(self, func, convert_dtype, args, kwargs).apply()
File E:\YoloV8\yolo_object_detection\Notes\yolo_venv\Lib\site-packages\pandas\core\apply.py:1025, in SeriesApply.apply(self)
1022 return self.apply_str()
1024 # self.f is Callable
-> 1025 return self.apply_standard()
File E:\YoloV8\yolo_object_detection\Notes\yolo_venv\Lib\site-packages\pandas\core\apply.py:1076, in SeriesApply.apply_standard(self)
1074 else:
1075 values = obj.astype(object)._values
-> 1076 mapped = lib.map_infer(
1077 values,
1078 f,
1079 convert=self.convert_dtype,
1080 )
1082 if len(mapped) and isinstance(mapped[0], ABCSeries):
1083 # GH#43986 Need to do list(mapped) in order to get treated as nested
1084 # See also GH#25959 regarding EA support
1085 return obj._constructor_expanddim(list(mapped), index=obj.index)
File E:\YoloV8\yolo_object_detection\Notes\yolo_venv\Lib\site-packages\pandas\_libs\lib.pyx:2834, in pandas._libs.lib.map_infer()
Cell In[26], line 6, in label_encoding(x)
2 def label_encoding(x):
3 labels = {'person':0, 'car':1, 'chair':2, 'bottle':3, 'pottedplant':4, 'bird':5, 'dog':6,
4 'sofa':7, 'bicycle':8, 'horse':9, 'boat':10, 'motorbike':11, 'cat':12, 'tvmonitor':13,
5 'cow':14, 'sheep':15, 'aeroplane':16, 'train':17, 'diningtable':18, 'bus':19}
----> 6 return labels[x]
KeyError: 'Person'
how to resolve this
Google drive folder image page not found
where is image data?
it is amezing bro
from where we can get the code for this
where to find the resources
How i make real time object detector by webcam
how can i know the accuracy here?
can I get your dataset?
Thompson Mary Thompson Sandra Clark Angela
getting error for the line - train_df['id'] = train_df['name'].apply(label_encoding)
if anyone has been able to solve, please reply with a solution
at time 1:01:23
give this code near import pandas
pd.options.mode.chained_assignment = None (# by default its warns us)
how to detect only a certain object
I am unable to get data images, can anyone please help me?
I am not able to download images
Image_data is not avallable
how to do webapp of this
Hi can you pls send me labeled images
The very pathetic kind of video so far! No explanation of anything, just coding to achieve the specific results on specific image... Really disappointed!
D:\UDEMY\TRAIN YOLO FOR OBJECT DETECTION\yolo_venv>Scripts\activate
(yolo_venv) D:\UDEMY\TRAIN YOLO FOR OBJECT DETECTION\yolo_venv>pip install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
requirements.txt is your file's name. you need to use it requirements.txt.txt or just erase the ".txt" part from file name
This is the error getting. can you plz help me out
error Traceback (most recent call last)
in
1 # load YOLO model
2
----> 3 yolo = cv2.dnn.readNetFromONNX("./Model/weights/best.onnx")
4 yolo.setPreferableBackend(cv2.dnn.DNN_BACKEND_OPENCV)
5 yolo.setPreferableBackend(cv2.dnn.DNN_TARGET_CPU)
error: OpenCV(4.5.3) D:\bld\libopencv_1632857399304\work\modules\dnn\src\onnx\onnx_importer.cpp:2146: error: (-2:Unspecified error) in function 'cv::dnn::dnn4_v20210608::ONNXImporter::handleNode'
> Node [Split]:(/model.24/Split_output_0) parse error: OpenCV(4.5.3) D:\bld\libopencv_1632857399304\work\modules\dnn\src\layers\slice_layer.cpp:187: error: (-215:Assertion failed) splits > 0 && inpShape[axis] % splits == 0 in function 'cv::dnn::SliceLayerImpl::getMemoryShapes'
>
This occurs when you are exporting the model in best.onnx format. Try using export your model by setting opset and image length and width and hope your problem will be solved.
great work 👍
it is showing not responding on running cv2.imshow('yolo_prediction,image) what to do
I have an error in labelImg each time I try to draw rectangle there comes an eroor saying float value not expected
sir in project resources i can't find the images it shows the file does not exists please verify it
where is image data?