Parking Space Counter using OpenCV Python | Computer Vision

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2021
  • In this tutorial, we are going to create a Parking Space Counter. We will find how many total cars are present and how many spaces are vacant to park. The best thing about this tutorial is that we will be using basic Image Processing techniques to solve this problem.
    🚀🚀 My Urdu/Hindi AI TH-cam Channel 🚀🚀
    / @murtazahassan01
    Download Code and Files:
    www.computervision.zone/cours...
    Premium Courses:
    ✔️ Computer Vision Game Development Course:
    bit.ly/3ttLZ2s
    ✔️ Computer Vision with Arduino Course:
    bit.ly/3wzLB4m
    ✔️ Advanced Drone Programming Course:
    bit.ly/3qs3v5g
    ✔️ Learn to Build Computer Vision Mobile Apps:
    bit.ly/3uioY1J
    ✔️ Jetson Nano Premium Course:
    bit.ly/3L8uIlF
    ⚙️⚙️⚙️--My Gear - ⚙️⚙️⚙️
    👉 Complete Gear 💈: www.computervision.zone/tech-...
    👉 My PC Specs 🖥️: www.computervision.zone/tech-...
    👉 My Video Shooting Gear📽️ : www.computervision.zone/tech-...
    👉 My Laptops 💻: www.computervision.zone/tech-...
    👉 Educational Products🧑‍🎓: www.computervision.zone/tech-...
    👉 TH-cam Starter Kit 🔴: www.computervision.zone/tech-...
    Follow Me:
    TikTok: bit.ly/3Vo76OQ
    Facebook Group: bit.ly/3irDcb7
    Discord: bit.ly/3JvyxAM
    Facebook Page: bit.ly/3IvpU7W
    Instagram : bit.ly/3NdGME3
    Website: bit.ly/3ICFTS0
    Github: bit.ly/3woU6PS
    #ComputerVision
    #OpenCV
    #CVZone

ความคิดเห็น • 197

  • @murtazasworkshop
    @murtazasworkshop  2 ปีที่แล้ว +24

    The Video File and the code is now available to download from the following link: www.computervision.zone/courses/parking-space-counter/
    What project would you like me to make next ?

    • @actionkey8042
      @actionkey8042 2 ปีที่แล้ว

      very VERY AWESOME))

    • @luis-alberto-nieto
      @luis-alberto-nieto 2 ปีที่แล้ว

      i think iwould be great if you can do a project count vehicules in a dron view with movement.!!

    • @giovani9560
      @giovani9560 2 ปีที่แล้ว

      Please make face recognition with method

    • @user-tt5bg2gy9l
      @user-tt5bg2gy9l 2 ปีที่แล้ว +1

      Can I get the code for the same project on Matlab?

    • @shaomingtang1645
      @shaomingtang1645 2 ปีที่แล้ว

      Sir for this project is got based on tensorflow? or only opencv?

  • @bandermaster81
    @bandermaster81 2 ปีที่แล้ว +6

    I liked that we solved the problem without a classifying model, using image processing instead. I think that will be a good foundation for future projects.

  • @saikatmondal809
    @saikatmondal809 2 ปีที่แล้ว +2

    Excellent project learned so many things in Opencv. 1)Find ROI in a image, 2) create position list of ROI, 3) dump position list in pickel file, 4) imageblur, 5) imagethresholding 6) count pixel of image 7) coloring, thickness and other operation with image count. and 8) most important mouse click operation on opencv.

  • @adegbitekelvin3875
    @adegbitekelvin3875 2 ปีที่แล้ว +3

    I love your introduction. Can't wait to try this.

  • @modernfusions1981
    @modernfusions1981 2 ปีที่แล้ว

    This is very good. Nicely elaborated, eliminating hidden complexities.

  • @NKernytskyy
    @NKernytskyy 2 ปีที่แล้ว

    Amazingly educative tutorial!
    Apprecaite sharing sources.

  • @rparetti
    @rparetti 2 ปีที่แล้ว

    this project is very beautiful. your explanation is perfect, keep it up

  • @stanst2755
    @stanst2755 ปีที่แล้ว

    Thanks for sharing this excellent project with details! For sure will work much faster than deep neural network as you mentioned.

  • @thiagosoares5052
    @thiagosoares5052 2 ปีที่แล้ว

    Your channel is the best in this regard!

  • @flutterwithJosh
    @flutterwithJosh 2 ปีที่แล้ว +11

    how can I apply that in live video cam? hope it answer my question. thanks!

  • @sergioernestotostadosanche5700
    @sergioernestotostadosanche5700 2 ปีที่แล้ว +2

    I LOVE YOUR VIDEOS! A lot of thanks for your content. I wonder if you have a video about basics and concepts about Image Processing and some examples about its feature (i.e. Gaussian is X and is used for y), sometimes you used Gaussian or Blur techniques or packages that I don't recognize, so this is what I'll like in your future videos. Regards and excellent job!

  • @AdityaP0704
    @AdityaP0704 2 ปีที่แล้ว +3

    I loved your project! Learned so many new things! Keep up the good work!

    • @Raja.Singh.youtube
      @Raja.Singh.youtube ปีที่แล้ว

      is the code available when we download the code and file from given download link?

  • @scounterscounter6702
    @scounterscounter6702 6 หลายเดือนก่อน

    2019 was my last development of this kind of stuff...yeaa...forgot a lot...nice video...slowly remember is coming back

  • @BigerBoy
    @BigerBoy 2 ปีที่แล้ว +1

    Loved the video. Greetings from Puerto Rico🇵🇷

  • @BillFrench
    @BillFrench 2 ปีที่แล้ว +14

    This is a great example of replacing the IoT with the (IoR Internet of Recognition), e.g., virtualized IoT sensors through machine vision. However, camera angle and height is critical and not always possible - think to floors in a parking tower. At Stream It we have used AI with multiple camera angles at low level angles to superimpose and extrapolate the view of the floor without such view being physically possible.

  • @abhishiktpeters2948
    @abhishiktpeters2948 ปีที่แล้ว

    Thank You so much Sir. Beautifully explained!!!🙏

  • @samarthgupta2358
    @samarthgupta2358 หลายเดือนก่อน

    Hey, It is my first project of computer vision. Nicely explained. Thank you so much for making it so simple and fun!

  • @programmingdigest7582
    @programmingdigest7582 2 ปีที่แล้ว +1

    Keep up the great work ❤

  • @microsoftsarker
    @microsoftsarker 2 ปีที่แล้ว

    IT WORKED!! THANK YOU SO MUCH!! AND YES, LIKED AND SUBSCRIBED

  • @nrdesign1991
    @nrdesign1991 2 ปีที่แล้ว +6

    I made something similar recently, reading the display of a musical keyboard playing its demo. OpenCV is awesome!

  • @Jimmy_Neutron
    @Jimmy_Neutron 2 ปีที่แล้ว

    Amazing
    Love your work ❤❤

  • @snkamleshvishnoi9328
    @snkamleshvishnoi9328 2 ปีที่แล้ว +1

    great, now i have ms office activated, superb tutorial!!!

  • @shivaraghav2899
    @shivaraghav2899 2 ปีที่แล้ว

    Wao I am feel happy and excited after watching this video....And I'm also want to learn these kind of thing..

  • @bintehawa7712
    @bintehawa7712 2 ปีที่แล้ว

    A Gaye or chah Gaye ho Bhai .we need more videos on COmputer vision

  • @jayantsinghrajput8199
    @jayantsinghrajput8199 8 หลายเดือนก่อน

    Appreciated you efforts sir. Keep uploading more such videos

  • @madhavmehto2261
    @madhavmehto2261 2 ปีที่แล้ว

    It is very good project sir . you are doing a good job sir . I'm your big fan

  • @SaifKhan-rr3er
    @SaifKhan-rr3er 2 ปีที่แล้ว +2

    Nice presentation. I don''t need to on Subtitles. Thank you very much for such helpful and nicely composed tutorial with explanation.

  • @idhapratama5103
    @idhapratama5103 2 ปีที่แล้ว

    hello murtaza , i'm one of your most lovely subcriber from indonesia ,can i ask you to make a tutorial for making pedestrian detection and counting with HOG using opencv cause i very intresting about it .and your tutorial so far was a best tutorial that i can get from youtube ,keep spirit to always make another people knowing new things . ☺

  • @inigoelias5690
    @inigoelias5690 ปีที่แล้ว

    This video is amazing, thank you.

  • @TheCreoleBlanc
    @TheCreoleBlanc 2 ปีที่แล้ว

    Thank you and have a good year 2022.

  • @Yougocean
    @Yougocean 2 ปีที่แล้ว

    Lovely post with helpful information. This tutorial ha really helped me a lot. I do like and enjoyed this cool video.

  • @foudilbelhadj
    @foudilbelhadj 2 ปีที่แล้ว

    Good job Murtaza !

  • @Sangamkumar017
    @Sangamkumar017 2 ปีที่แล้ว

    Awesome project sir!!

  • @gulrukh1386
    @gulrukh1386 3 หลายเดือนก่อน

    I like it very much, as I did Car Parking with Mask RCNN, but it was very heavy, and yours Car Parking is very efficient and impressive...
    Thanks for your new technique.
    best regards
    Gul Rukh

  • @randomdyno
    @randomdyno 2 ปีที่แล้ว

    That is something unique and awesome ❤🥰

  • @savvaskeseoglou9026
    @savvaskeseoglou9026 2 ปีที่แล้ว

    Excellent project!!!

  • @risabella18
    @risabella18 2 ปีที่แล้ว

    Thank you very much for clarification I must try this

  • @ecoders_channel
    @ecoders_channel 2 ปีที่แล้ว

    lost of thanks brother .for this video.
    learned a lot.

  • @TheKingJoker666
    @TheKingJoker666 2 ปีที่แล้ว +1

    I followed the instructions and it easily worked!

  • @choiroseparfumsidoarjo1106
    @choiroseparfumsidoarjo1106 2 ปีที่แล้ว

    congratulations , this video es very great! , i will suggest it if possible ypu can make more videos with opencv and license plates!! in videos

  • @MrSkland
    @MrSkland 2 ปีที่แล้ว

    Cool!, What camera would be used to record an aerial view like the one in the video?

  • @vinayakram5133
    @vinayakram5133 ปีที่แล้ว

    Very useful sir 💫

  • @joshuaPurushothaman_
    @joshuaPurushothaman_ 2 ปีที่แล้ว +3

    What about Canny edge detection instead of adaptive thresholding? And using contour areas instead of countNonZero?

  • @rajarampejaver6689
    @rajarampejaver6689 2 ปีที่แล้ว +2

    Problem is that most parking lot cameras are at severe angles and empty spots are often covered by parked cars. Thanks for your explanation, this is a nice intro to CV. But TLDR, the material could be covered in 10 mins.

  • @ayushgupta_3017
    @ayushgupta_3017 ปีที่แล้ว

    sucessfully made it ☺Thanks

  • @tahirmehmood4472
    @tahirmehmood4472 2 ปีที่แล้ว +1

    Good work 👍

  • @thedude333
    @thedude333 2 ปีที่แล้ว

    Great video as always. I would love to see a video by you talking about multiple object tracking with unique id. Thanks

  • @poojachumii.s6846
    @poojachumii.s6846 2 หลายเดือนก่อน

    thanks sir , your explations was superb

  • @nguyennhatquang4894
    @nguyennhatquang4894 2 ปีที่แล้ว

    nice video, thanks you so much

  • @jenniferwhite632
    @jenniferwhite632 2 ปีที่แล้ว

    Perfect ❤❤

  • @microsoftsarker
    @microsoftsarker 2 ปีที่แล้ว

    thanks for posting

  • @husamyusif6627
    @husamyusif6627 2 ปีที่แล้ว +1

    Good video, you can open the image in paint and hover the mouse to get the x,y coordinates

  • @maikakanaka5416
    @maikakanaka5416 2 ปีที่แล้ว

    Thank you very much master

  • @profnerd7357
    @profnerd7357 ปีที่แล้ว

    I am really thankfull to you for your video on parking space counter, but I had a question about a possible new feature to the code. Can we somehow convert that camera feed with green and blue rectangles into a 2D illustration interface? An interface where users can see which spot is vacant and which is occupied?

  • @user-sn4wc2wx4g
    @user-sn4wc2wx4g 2 ปีที่แล้ว

    Great Video

  • @yasirali8409
    @yasirali8409 2 ปีที่แล้ว

    Very good sir

  • @flioink
    @flioink 2 ปีที่แล้ว +1

    Excellent, can you please make something like those 3d object/filter that attaches a custom 3d object to one's face, for example?
    I talking about putting virtual masks/glasses/hats.

  • @ThomasEricWendt
    @ThomasEricWendt 2 ปีที่แล้ว

    thanks for the vid

  • @montecore6844
    @montecore6844 ปีที่แล้ว

    Awesome!

  • @kenax83
    @kenax83 11 หลายเดือนก่อน +1

    Can i use a parking video on my own or no?
    If yes, will i be needing to edit anything except for the image and mp4 codes?

  • @maciejurbaniak1677
    @maciejurbaniak1677 7 หลายเดือนก่อน

    dude your pro

  • @ahyin9567
    @ahyin9567 2 ปีที่แล้ว +1

    wow this is very cool

  • @markbeaver4806
    @markbeaver4806 2 ปีที่แล้ว

    cool tutorial

  • @user-qn7de4gl1n
    @user-qn7de4gl1n 7 หลายเดือนก่อน

    loved it

  • @daoudbelkadi9232
    @daoudbelkadi9232 2 ปีที่แล้ว

    an excellent explanation , I just want to know how we can give an id for each car space ?thank you so much

  • @saram.1194
    @saram.1194 3 หลายเดือนก่อน

    youre amazing !

  • @vaelsonsantiago
    @vaelsonsantiago 2 ปีที่แล้ว

    nice job

  • @vantho99
    @vantho99 2 ปีที่แล้ว

    Good!

  • @karlcami
    @karlcami 2 ปีที่แล้ว +3

    Would you be able to capture this data through a drone? or it has to be a static/fixed camera?

    • @toitozky155
      @toitozky155 2 ปีที่แล้ว

      I really don't know how its possible to get this angle

    • @susmantobealivebruh4238
      @susmantobealivebruh4238 2 ปีที่แล้ว

      I am pretty sure that the image is not supposed to move?

  • @yusefturin2122
    @yusefturin2122 2 ปีที่แล้ว

    amazing

  • @lastwish6428
    @lastwish6428 2 ปีที่แล้ว

    A max 50 line code given this amount of output .
    Thanks for python.
    I wonder how many lines do we have to write in java or c or c++ 😂

  • @rochdichawali3150
    @rochdichawali3150 ปีที่แล้ว

    THANKS!!!!

  • @alvarocabezasruiz6954
    @alvarocabezasruiz6954 2 ปีที่แล้ว

    Can you please publish the raaw video? It´s difficult to find a parking video and yours is really good please can you publish the raw video somewhere?

  • @79Nardo
    @79Nardo 2 ปีที่แล้ว

    What IDE or code editor do u use? very good explanation and nice video! keep walking!

    • @immq1702
      @immq1702 2 ปีที่แล้ว

      looks like PyCharm

  • @rasimqasimov9879
    @rasimqasimov9879 2 ปีที่แล้ว

    Hi but what if the ground and car's color will be similar will program then work properly ?

  • @joshuacampbell6772
    @joshuacampbell6772 ปีที่แล้ว

    pretty new to this, would you all recommend me using my MAC for a project like this?

  • @arjunbali2079
    @arjunbali2079 2 ปีที่แล้ว

    thanks sir

  • @starshipx1282
    @starshipx1282 2 ปีที่แล้ว +1

    Can u do a vid about your life journey?

  • @NaelLilik
    @NaelLilik 2 ปีที่แล้ว

    Mantap, saya suka python CV

  • @Duru5738
    @Duru5738 ปีที่แล้ว +2

    Hello
    Thanks for everything.
    Can you also share the "carPark.mp4" and "carParkImg.png" files?
    Kind regards...

  • @Raja.Singh.youtube
    @Raja.Singh.youtube ปีที่แล้ว +1

    is the code available when we download the code and file from the given download link?

  • @onemilliongecs
    @onemilliongecs หลายเดือนก่อน

    thanks goat

  • @luis-alberto-nieto
    @luis-alberto-nieto 2 ปีที่แล้ว

    hi , i have signed up in you web , and i do it the project! Is great! , but i have problem to find a video compatible with the exercise. can you give a link to download a video , image ?? thanks for all

  • @root_will
    @root_will 2 ปีที่แล้ว +2

    Where do I find the video and the image?

  • @abhijitbaruah2207
    @abhijitbaruah2207 2 ปีที่แล้ว

    sir do biomedical advanced projects and also the leafe desease detection using uav and opencv

  • @GauravSharma-ze4cu
    @GauravSharma-ze4cu 2 ปีที่แล้ว

    Hlo ,this project seems to be interesting , but can u give more content or project in openCV in C++.

  • @raaedalmayali3685
    @raaedalmayali3685 2 ปีที่แล้ว

    Good

  • @evertongrant2814
    @evertongrant2814 4 หลายเดือนก่อน

    Video is great, but I was wondering if this car park will by used by cars only or motor bikes will use the parking space during the day, I was thinking if the pixel count well different between count with cars and the noise you get that produces counts less then 900?

  • @arafat877
    @arafat877 2 ปีที่แล้ว +5

    Hi Mr Mortaza, when I try to run the main.py (with Trackbars), python prompts me an error telling me that polygons file is not found, and when I try to look for it in the zip file containing the necessary files, this one is missing, could you share it please ???

    • @rafaeldesantis7580
      @rafaeldesantis7580 2 ปีที่แล้ว

      same error bro ! did you solve it ? can you help me ??

  • @soyuzbekorozbekuulu6346
    @soyuzbekorozbekuulu6346 2 ปีที่แล้ว +1

    How tall the camera needs to be set?

  • @asiyatv166
    @asiyatv166 2 ปีที่แล้ว

    keep it up

  • @AceGod7
    @AceGod7 2 ปีที่แล้ว

    so if u get a cardboard board and occupy a car space u can fool the camera?

  • @mitya7068
    @mitya7068 2 ปีที่แล้ว

    Sensei!

  • @TauvicRitter
    @TauvicRitter 2 ปีที่แล้ว +10

    Can you make a device that can count traffic and it's speed and direction. Pedestrians, bicycle, cars, trucks. Position the device in your house and count traffic passing by. That's a useful system for traffic intensity and road safety at neighborhood level.

    • @BillFrench
      @BillFrench 2 ปีที่แล้ว

      We do that at Stream It.

    • @treijunta1467
      @treijunta1467 11 หลายเดือนก่อน

      @@BillFrench algún software de contar personas y vehículo detección humano con mi cámara de seguridad please

  • @kintipukintipu3987
    @kintipukintipu3987 2 ปีที่แล้ว +1

    Great video! ..motorcycles ☹

  • @kaza6299
    @kaza6299 2 ปีที่แล้ว

    Is it free to use in educational purpose. I need this in my college project as a part of a system ? Thanks in any case :D

  • @sameekshakamble9665
    @sameekshakamble9665 2 ปีที่แล้ว

    tq

  • @prabinupadhayaya2606
    @prabinupadhayaya2606 2 ปีที่แล้ว

    What may the link for those two contents mp4 and png files ?

  • @vadimchecherin5295
    @vadimchecherin5295 2 ปีที่แล้ว

    Please tell me where can I get photos and videos from this lesson

  • @ashraybaru7346
    @ashraybaru7346 ปีที่แล้ว

    sir can you tell me which algorithm is used while writing the code.