Тёмный
No video :(

Data Science & Machine Learning Project - Part 3 Data Cleaning | Image Classification 

codebasics
Подписаться 1,1 млн
Просмотров 117 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 304   
@codebasics
@codebasics 2 года назад
Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced
@fredbaafi9013
@fredbaafi9013 2 года назад
Hello Sir, I'm working on a license plate detection and I would love for you to teach me how to clean and preprocess images that I have personally taken and how to bring the images together for model building using CNN
@adityasinha8649
@adityasinha8649 4 года назад
Please build more projects like these..! These are very helpful!
@AlonAvramson
@AlonAvramson 3 года назад
This is a great tutorial, thank you for your generosity and clear explanations. The project videos provide a wider view on how to use and implement the models in a very practical way and expose to us additional practical tools.
@sultanhusnoo8552
@sultanhusnoo8552 2 года назад
Hello Sir, you are an amazing teacher and I am very honoured to learn from you. You have a really good heart to be working so so hard to help us all on this platform and I hope you keep going and you stay in good health to enjoy a long happy life for helping out so many people. Thanks for all the hard work.
@codebasics
@codebasics 2 года назад
Thanks Sultan for your kind words
@arulsebastian6338
@arulsebastian6338 4 года назад
"What is this guy doing in serina's folder?". I like the comment :-). Thanks for the video.
@codebasics
@codebasics 4 года назад
Ha ha.. good observation Arul
@siddharthsingh2369
@siddharthsingh2369 2 года назад
Amazing tutorial Sir, going through the playlist from last 15 days. Thnx a lot , truly appreciate your time and effort !!!!
@siddharthvarma6684
@siddharthvarma6684 2 года назад
Hi Dhaval, Although, you made this project series in a pretty explanatory way and I hope everybody likes this series but It would be better if you could explain more about the arguments that you feed to libraries's attributes. I hope from the next project series you would focus more on that part.
@bright4665
@bright4665 2 года назад
Clear instruction, easier to understand. Love how you teach, thank you a lot for providing us free and high quality lesson.
@codebasics
@codebasics 2 года назад
You're very welcome!
@nishantthakur144
@nishantthakur144 2 года назад
For all the users with the problem error :- Opencv(4.5.5) ,error(-215 : assertion failed)!_src.empty in function 'cv:cvColor'. Modify the function as def get_cropped_image_if_2_eyes(image_path): img = cv2.imread(image_path) if img is not None: gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) faces = face_cascade.detectMultiScale(gray, 1.3, 5) for (x,y,w,h) in faces: roi_gray = gray[y:y+h, x:x+w] roi_color = img[y:y+h, x:x+w] eyes = eye_cascade.detectMultiScale(roi_gray) if len(eyes) >= 2: return roi_color
@ajaykesarkar6106
@ajaykesarkar6106 2 года назад
Thanks bro. I searched for 30 minutes for the solution
@kaushalkmahajan927
@kaushalkmahajan927 2 года назад
thank you so much !! This works like magic
@rhishikeshsonawane8980
@rhishikeshsonawane8980 2 года назад
thank you bro helped alot!
@favourifunanya6108
@favourifunanya6108 2 года назад
Much love man. You rock!!!
@memama2174
@memama2174 2 года назад
god bless u bro
@Gurur_shots
@Gurur_shots 10 месяцев назад
Very easy to understand for those guys who also have basic knowledge of opencv... But In my point of view very very great video sir ❤❤❤
@urvipasad8622
@urvipasad8622 4 года назад
Very simple and easy to understand.You are really awesome teacher. Thanks a lot for all your tutorials.
@anonymousgod2506
@anonymousgod2506 3 года назад
Can you please mail the data to me for this project to himanshusingh6551@@t
@vikashkumarchaurasia1299
@vikashkumarchaurasia1299 4 года назад
Awesome projects . Please bring some similar projects on this channel in future. Thanks a lot
@codebasics
@codebasics 4 года назад
I will try my best
@bhaskargg6018
@bhaskargg6018 Год назад
your effort & time to explain the project is superb, many thanks for sharing your knowledge to the data science community 🙏
@basotra97
@basotra97 4 года назад
When I started watching this video, and I didn't know that you will use OpenCV library, so I purchased a course of OpenCV from Udemy and completed it and then I watched this video, then it was very easy for me to understand all the functions you implemented in this video. CHEERS!!!
@codebasics
@codebasics 4 года назад
Great to hear Vishwas :)
@mudasserqayyom9947
@mudasserqayyom9947 9 месяцев назад
Hello Sir, you are great teacher and your way of teaching is amazing. Thank You so much for your all hard work.
@ABHISHEKGAUTAM75
@ABHISHEKGAUTAM75 4 года назад
Sir i like your process of explaining every things in a simple way. Keep up the good work and your valuable time.
@codebasics
@codebasics 4 года назад
glad you liked it
@sonamchauhan2968
@sonamchauhan2968 Год назад
Thank you so much sir for teaching such concepts in easy language for free of cost !!
@jaganinfo
@jaganinfo 4 года назад
always i learn new tips\concepts from you Dhaval. Example requirements.txt in this video. I'm improving day by day by watching your videos.
@codebasics
@codebasics 4 года назад
Glad to hear that jaganinfo :)
@nihalverma702
@nihalverma702 3 года назад
Very very thankful for your efforts sir. You are helping so many peoples like me for learning new concepts. Please Keep working. Thanks
@codebasics
@codebasics 3 года назад
Thank you, I will Nihal.
@Chinarkashmirmusic
@Chinarkashmirmusic 4 года назад
Hey, hope you are doing fine. Here is a suggestion, show us how to tackle problems during projects that will give us a proper understanding of projects. Choose big projects on different algorithms. Share your personal experience in that way you can increase the content of your channel and we can also learn more from you. Make projects on different topics Right now Data science is growing and more people want to become a data scientist. You have covered basics now you have to show us how to deal with projects? What should be your goal when you get any dataset? What to do, what not to do? Why you require this or that? Protocols? How to approach a dataset How to solve it. I hope you will do it because these are the things i personally face right now. I admire only you and krish naik.
@santoshikalaskar7503
@santoshikalaskar7503 4 года назад
thank u sir for this video series, i also working on Image Processing using Opencv & YOLO, this series is helped me a lot.
@codebasics
@codebasics 3 года назад
Glad it helped!
@amitchimmalgi1449
@amitchimmalgi1449 2 года назад
This video gives details of handling images for making useful datasets. Useful learning experience.
@codebasics
@codebasics 2 года назад
Glad it was helpful!
@harshitsingh4764
@harshitsingh4764 3 года назад
Thank you for such great content ❤️. Please make more such project series 🙏🏻
@sathvikmalgikar2842
@sathvikmalgikar2842 Год назад
sir massive respect! thank you, just what i needed. i was preparing for a hackathon! this really helps a lot.
@codebasics
@codebasics Год назад
Glad it helped!
@jaysoni7812
@jaysoni7812 4 года назад
After completed your ML series these projects are really helpful it's blow my mind, thank you so much, please make another project like this which helpful to gain more coding knowledge which can't gain in basics, if it is possible please make another in future
@codebasics
@codebasics 4 года назад
Yes Jay. I am planning to add many such projects in future
@jaysoni7812
@jaysoni7812 4 года назад
Ohh thank you I'm exciting for upcoming projects And also I want to suggest you that in next project please teach some data scientist presentation means the way data scientist present project or model so we can learn it with coding bcz some persons say that data scientist must story teller.. so think about this if it is possible. I want to one promise to you is when I became a data scientist or machine learning engineering I will contribute you and your channel 🙂🙂
@naveenkalhan95
@naveenkalhan95 4 года назад
Thanks for this project... really appreciate your extra weekend time on such things... super
@codebasics
@codebasics 4 года назад
My pleasure Naveen. Always a pleasure to read your comment my friend 😊
@AlonAvramson
@AlonAvramson 3 года назад
I would be happy to see a video on using a model with REST-API, that could be very useful.
@suryav3959
@suryav3959 4 года назад
These kind of projects are really helpful and interesting.Thank you very much
@kollaanantraj3690
@kollaanantraj3690 3 года назад
Really lovely projects ..Learnt a lot Sirr. Thank you very much . Your explanation is awesome .
@codebasics
@codebasics 3 года назад
You are most welcome
@prashanthshetkar2350
@prashanthshetkar2350 2 года назад
excellent tutorials where I can learn and practice data science project. thank you so much...
@kavachtales9252
@kavachtales9252 2 года назад
Build More projects like these, they are very fun and we learn a lot from it. :D
@codebasics
@codebasics 2 года назад
Yes more projects are coming up
@hasibkhan5129
@hasibkhan5129 Год назад
You are my favorite instructor.
@pramodsanghavi9316
@pramodsanghavi9316 4 года назад
Thank you sir one more project ... It will help us to get in details knowledge ... Keep it up
@jaganinfo
@jaganinfo 4 года назад
Nice INformation. JFYI ... your face video is not synchronizing with audio .If it is recorded video we can adjust while editing. If it is live , Please switch camera OFF & ON
@its_kumar
@its_kumar 4 года назад
Nice Project and explanation. Automated generating cropped images and folders thing was good.
@salamina_
@salamina_ Год назад
Really helpful series. Thank you for taking time to put it together and explain each steps in a very easy to understand manner
@lorenczhuka8017
@lorenczhuka8017 3 года назад
Hello Sir, excellent video. I really appreciate your work. Please make more end to end projects like this!
@manmeetkaur5689
@manmeetkaur5689 4 месяца назад
@Dhavel, its an amazing project..please give more such projects
@irfan2597
@irfan2597 2 года назад
These projects are really helpful, would be really so good if you could build more and more projects like these, thank you so much!
@niharika5161
@niharika5161 2 года назад
Have you installed the libraries with given version or newest version?? With newset version , I am getting error in executing code.can you help me out ?
@irfan2597
@irfan2597 2 года назад
@@niharika5161 hey, Niharika, I installed the libraries with the old versions, and it worked fine. Let me know what is the error popping up with the new versions.
@niharika5161
@niharika5161 2 года назад
@@irfan2597 When i write image shape(the second line code) ,it shows 'nonetype object has no attribute shape' and plt.imshow(img) giving typeerror"image data of dtype object cannot be converted to float" . Also can you tell me how to install the old versions?
@sourabhpranborah5447
@sourabhpranborah5447 3 года назад
Sir, Please do a guided project on stock prediction.
@jaganinfo
@jaganinfo 4 года назад
Got this error @29:00 min : PermissionError: [WinError 5] Access is denied: './dataset/cropped/' *Solution* for others: *Changed that code by adding a prefix 'r' before the path.* example : img = cv2.imread(r'./test_images/sharapova1.jpg') Make sure you give the full path to the image. This worked for and got rid of the permission problem.
@abdultaufiq2237
@abdultaufiq2237 4 года назад
I got this error @22:00 min while removing the cropped folder (I tested how this code woks well ). I got permission error whenver I try to delete the existing folder and creating new empty folder ! @codebasics help me please !
@Jaisimnagaraj
@Jaisimnagaraj 5 месяцев назад
Awesome explanation. Thank you so much for these projects!
@shubhamzope6546
@shubhamzope6546 3 года назад
Very nicee explanation
@codebasics
@codebasics 3 года назад
Glad it was helpful!
@vishalm4231
@vishalm4231 4 года назад
It was a nice practical implementation.
@MotivationalMoments_IND
@MotivationalMoments_IND 3 года назад
I undersatnd your situation brother.Your stuff is very great.
@srinivasreddy1709
@srinivasreddy1709 4 года назад
Thanks Dhaval for sharing your knowledge
@nidhinsreenivas4549
@nidhinsreenivas4549 3 месяца назад
thank you sir its really helping for me
@BeaProgrammer
@BeaProgrammer 4 года назад
Great video must say
@DataScience111
@DataScience111 2 года назад
fabulous... the way you explain...👌👌
@shivanshaghor8443
@shivanshaghor8443 4 года назад
Hello Sir, Please make more end to end projects like this.
@sudikshapatil7022
@sudikshapatil7022 2 года назад
Hi Dhaval. It is great efforts where you making projects which will help the beginners. But if will be good if you explain about the arguments which you are passing. For example for line of code faces=face_cascade.detectMultiScale(gray,1.3,5 ) You mentioned what is that gray but you dint mention why 1.3 and 5 are passed.
@uttaravallivinod3468
@uttaravallivinod3468 4 года назад
Super sir. Excellent teaching
@codebasics
@codebasics 4 года назад
👍😊
@binaykumar1616
@binaykumar1616 3 года назад
Nicely explained, we are definitely benefited, thanks
@codebasics
@codebasics 3 года назад
Glad it was helpful!
@r21061991
@r21061991 4 года назад
Extremely useful....Helped me a lot !
@bijayamanandhar3890
@bijayamanandhar3890 Год назад
In the video, the author explains (time-stamp 9:37) cv2 module presents any image with RGB values as the third dimension. Where as, it should be BGR values, I believe. Please let me know if I am wrong.
@dr.md.atiqurrahman2748
@dr.md.atiqurrahman2748 3 года назад
No comment. Just wow.
@ommi5234
@ommi5234 8 месяцев назад
my data cleaned succesfully ❤❤
@StMarkAdebayo
@StMarkAdebayo 2 месяца назад
hello, ommi I'm stuck on downloading the haarcades .xml files. Please share how you were able to do yours
@dishantkumbhar8822
@dishantkumbhar8822 3 года назад
Hey dhaval! I have a problem whenver i m running code, it says generating cropped image folder But when i see I can't find a single image and there's no error. Note:- os.makedirs('full path', exist_ok = True) This i had change as it was throwing many error Plz check it once
@linley2036
@linley2036 Месяц назад
thank u thank u, God bless you
@beststocks8555
@beststocks8555 3 года назад
Great Sir, very helpful.
@yes_i_am8378
@yes_i_am8378 4 года назад
is it necessary to install same versions of modules(requirements.txt). Latest version are being installed. I am facing issue of compatibility in older versions
@adityashinde2878
@adityashinde2878 4 года назад
Thanks alot bhai for such helpful content
@codebasics
@codebasics 4 года назад
Next Video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sWAPtaBZKBQ.html Data Science Project | Sports Celebrity Image Classification: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qWXXHjV3JHI.html Machine Learning & Data Science Project | Real Estate Price Prediction Project: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-rdfbcdP75KI.html Learn data science for beginners (How to learn data science for free)?: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Vn_mmOuQkSA.html
@rishabhjain7572
@rishabhjain7572 3 года назад
@code_basics sir getting error on faces=face_cascade.detectMultiScale(gray, 1.3, 5) faces error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-71670poj\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
@jayamishra960
@jayamishra960 4 года назад
sir many images are being generated in jfif format . opencv is unable to read those files , can you please suggest some solution
@demon3769
@demon3769 4 месяца назад
very helpful
@user-pp6jj4ol9o
@user-pp6jj4ol9o 3 года назад
I was looking for a data cleaning method and I found this video is interesting. As a part of my project, I`d like to delete some images that are labeled as the same class but were taken outdoors. For example, let`s say there`s a Empire State Building, this picture should`ve taken outdoors but a few pictures was taken indoors. Is there any possible way to remove those kinds of outliers automatically on Python? Or should I delete the pictures manually?
@rachitgupta2558
@rachitgupta2558 3 года назад
This project is great! Please build some projects in data science domain Thank You!
@codebasics
@codebasics 3 года назад
We will
@bhagyashreewagh6214
@bhagyashreewagh6214 2 года назад
Thankyou for your efforts sir!
@subhamsekharpradhan297
@subhamsekharpradhan297 3 года назад
Please build more out of box projects....it would be very helpful
@trantoan6985
@trantoan6985 4 года назад
better than my university
@rajsankalp
@rajsankalp Год назад
Great Tutorial!
@pranavmittal2976
@pranavmittal2976 9 месяцев назад
everytime we run the code it will delete the existing folders and create new one thing is wrong i have take 10 hr to clean manually the cropped dataset next day when i opened my laptop and rerun it it regenerates the folder
@sneha967
@sneha967 3 месяца назад
can we use images of multiple player like do we need multiple images of single player only
@snehalkumbhalkar7243
@snehalkumbhalkar7243 4 года назад
sir plz build project like this .it will really helpful to the student like us who cannot afford paid classes.
@rahiljakir
@rahiljakir Год назад
we downloaded images in jpg format..then after processing why did you saved in png format.( although it should not create any format beacause file formats itself are self introducing to rendering softwares as far i know
@KaraNThakur-t6i
@KaraNThakur-t6i 8 дней назад
whole code is working properly, code create new cropped folder but in my case the cropped folder is empty, can anyone help me here please I'm stuck.
@kmnm9463
@kmnm9463 4 года назад
Hi, This tutorial is top of the line. I have a query. In the section where you mention that in creating cropped images folder ( 32:21 - of the video), one face is as of that code is picked - how come that both faces are seen when we check the cropped images that are created( for eg. Serena's husband). Regards KM
@shanmugapriyannsit
@shanmugapriyannsit 4 года назад
easy to understand, thanks a lot
@vincelolx
@vincelolx 4 года назад
Thanks for the great video. Just curious, if there are two faces in the downloaded picture, will the code produces two cropped images of those two faces? Thank you.
@codebasics
@codebasics 4 года назад
Yes
@shreyasb.s3819
@shreyasb.s3819 2 года назад
Very nice tutorial
@Anoopkumar_17
@Anoopkumar_17 10 месяцев назад
Sir I have some doubts in creating a cropped folder using code.
@manikantabandla3923
@manikantabandla3923 4 года назад
Sir I think it's a kind of hectic deleting images manually when we are working with big data, then what's the solution
@codebasics
@codebasics 4 года назад
Companies use crowdsourcing platforms for this. Let's say you want to verify 10000 images, they will send a job in crowd where every person in crowd verified let's say 10 images. They get paid very low, say 1 cent per image verification. But the work force is from the countries where labour is cheap for companies this effort will not be very expensive. If you don't want to verify all images you can also do random sampling. Overall it works out to be okay
@jay-rathod-01
@jay-rathod-01 3 года назад
@@codebasics appen and crowd workers.
@manojsriramula2355
@manojsriramula2355 4 года назад
Thank you so much very interesting.
@sjatin1842
@sjatin1842 4 года назад
I am getting an attribute error for img.shape . It is saying that 'NoneType' object has no attribute 'shape' please help me with this
@codebasics
@codebasics 4 года назад
Can you check if img is none? If img is not None:
@sjatin1842
@sjatin1842 4 года назад
@@codebasics It is not none. but still I am getting this attribute error
@nhatquangphan2124
@nhatquangphan2124 Год назад
I have an error that after I delete the previous photo I want to select another photo, I just change the path, the above command lines all run normally but to the command line using Haar Cascade it uses the face coordinates of the previous photo I deleted and now I can't update any more faces at the current Now it is not possible to change the coordinates of the previous photo I deleted
@digigoliath
@digigoliath 4 года назад
Awesome!! TQVM!
@bijayamanandhar3890
@bijayamanandhar3890 Год назад
Dear Dhaval, Thank you so much for your hard work in making wonderful tutorials. Though I am able to follow your videos, I face problem executing the codes I write. At the moment, I do not know why and how the extension files have been created once I execute program. For example extension files such as `.ipynb_checkpoints`, `.jovianrc` and `.idea` exetensions are creating lots of problems. I will appreciate if you can help me solve the problems.
@codebasics
@codebasics Год назад
What problem is that t creating? It would be great if you can include exact details so that we can help you. Also it is best to join our discord server (link in video description), we have an active python and ML community where someone will help you
@pitocms
@pitocms 3 года назад
Dear sir, Is it will work for cartoon character ? If not then would you please give a tips about the solution ?
@codebasics
@codebasics 3 года назад
Yes it should work. Please try it out
@preetiadhikari6979
@preetiadhikari6979 Год назад
i am bit confuse that i got error while create cropped image in cropped folder . At end i got output as fuction not define .
@lucasbegue8232
@lucasbegue8232 4 года назад
very good tutorial!!
@muskangupta9104
@muskangupta9104 Год назад
I am not able to import the modules u told in the start. plz help me with that.
@prashantp.pandey6488
@prashantp.pandey6488 2 года назад
Not able to download folders like openCV from your github.....
@aryanraina1932
@aryanraina1932 Год назад
I am not able to download folder of images. How to do that?
@suyashtambe1718
@suyashtambe1718 2 года назад
!_src.empty() in function 'cv::cvtColor' I get this erroe while executing last bit and only some of pictures get cropped what can i do ?
@favourifunanya6108
@favourifunanya6108 2 года назад
You have to wrap some part of the function in an if block, like so def ______(img_path): img = cv2.imread(img_path) if img is not None: # The rest of the code goes under this if block.
@pipipipipiyota
@pipipipipiyota Год назад
@@favourifunanya6108 Thank you so much!!! I spent hours to solve this. It worked!
@user-qi4yo8mm5b
@user-qi4yo8mm5b 11 месяцев назад
i have an error in[22] error: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' can you help me?
@aatkafaryal1199
@aatkafaryal1199 Год назад
Hi Sir when I try to install requirements.txt it gives me error "pip is not recognized as an internal or external command" and when i tried with git bash, the error is "bash: pip command not found". Please help me to solve these errors.
@ayeshaiqbal-br4ff
@ayeshaiqbal-br4ff Год назад
kindly i have a question how to change datatype of iris dataset PetalWidthCm column to numeric.
@izharkhankhattak
@izharkhankhattak 3 года назад
Good job
@datascienceandmachinelearn2537
@datascienceandmachinelearn2537 3 года назад
Hi, why do I encounter this error "UnboundLocalError: local variable 'roi_color' referenced before assignment" when I want to crop faces of file and creating cropped images folder for famous sportmen
@akhileshtrivedi7120
@akhileshtrivedi7120 4 года назад
Thanks for it all!
Далее
ML Was Hard Until I Learned These 5 Secrets!
13:11
Просмотров 282 тыс.
WELCOME TO THE FAMILY, MOE! (Brawl Stars Animation)
00:40
娜美这是在浪费食物 #路飞#海贼王
00:20
How Stable Diffusion Works (AI Image Generation)
30:21
Просмотров 145 тыс.
Complete Data Science Project!
38:31
Просмотров 12 тыс.
This is why Deep Learning is really weird.
2:06:38
Просмотров 384 тыс.
Data Cleaning in Pandas | Python Pandas Tutorials
38:37
11. Introduction to Machine Learning
51:31
Просмотров 1,6 млн
WELCOME TO THE FAMILY, MOE! (Brawl Stars Animation)
00:40