Parking Space Counter using OpenCV Python | Computer Vision
HTML-код
- Опубликовано: 20 авг 2024
- 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 RUclips Channel 🚀🚀
/ @murtazahassan01
Download Code and Files:
www.computervi...
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.computervi...
👉 My PC Specs 🖥️: www.computervi...
👉 My Video Shooting Gear📽️ : www.computervi...
👉 My Laptops 💻: www.computervi...
👉 Educational Products🧑🎓: www.computervi...
👉 RUclips Starter Kit 🔴: www.computervi...
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
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 ?
very VERY AWESOME))
i think iwould be great if you can do a project count vehicules in a dron view with movement.!!
Please make face recognition with method
Can I get the code for the same project on Matlab?
Sir for this project is got based on tensorflow? or only opencv?
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.
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.
This video is a life saver for students who are completely new to image processing. Thank u for this video.
Hey, It is my first project of computer vision. Nicely explained. Thank you so much for making it so simple and fun!
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.
This video was very helpful and informative! Keep it up and have a great life. You are doing a great job! I wish our professors were as helpful and good teachers as you are.
2019 was my last development of this kind of stuff...yeaa...forgot a lot...nice video...slowly remember is coming back
I loved your project! Learned so many new things! Keep up the good work!
is the code available when we download the code and file from given download link?
great, now i have ms office activated, superb tutorial!!!
I love your introduction. Can't wait to try this.
Loved the video. Greetings from Puerto Rico🇵🇷
woow such a amazing video thank you so much this is very helpful for my project
how can I apply that in live video cam? hope it answer my question. thanks!
2 years..
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
A Gaye or chah Gaye ho Bhai .we need more videos on COmputer vision
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.
Your channel is the best in this regard!
I made something similar recently, reading the display of a musical keyboard playing its demo. OpenCV is awesome!
Nice presentation. I don''t need to on Subtitles. Thank you very much for such helpful and nicely composed tutorial with explanation.
This is very good. Nicely elaborated, eliminating hidden complexities.
Thanks for sharing this excellent project with details! For sure will work much faster than deep neural network as you mentioned.
this project is very beautiful. your explanation is perfect, keep it up
I followed the instructions and it easily worked!
thanks sir , your explations was superb
Amazingly educative tutorial!
Apprecaite sharing sources.
Thank you and have a good year 2022.
Wao I am feel happy and excited after watching this video....And I'm also want to learn these kind of thing..
What about Canny edge detection instead of adaptive thresholding? And using contour areas instead of countNonZero?
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 . ☺
It is very good project sir . you are doing a good job sir . I'm your big fan
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.
We do that at Stream It.
@@BillFrench algún software de contar personas y vehículo detección humano con mi cámara de seguridad please
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!
Appreciated you efforts sir. Keep uploading more such videos
Good job Murtaza !
IT WORKED!! THANK YOU SO MUCH!! AND YES, LIKED AND SUBSCRIBED
Thank You so much Sir. Beautifully explained!!!🙏
Good work 👍
lost of thanks brother .for this video.
learned a lot.
Good video, you can open the image in paint and hover the mouse to get the x,y coordinates
youre amazing !
wow this is very cool
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 ???
same error bro ! did you solve it ? can you help me ??
sucessfully made it ☺Thanks
Can u do a vid about your life journey?
Keep up the great work ❤
Hello
Thanks for everything.
Can you also share the "carPark.mp4" and "carParkImg.png" files?
Kind regards...
Very useful sir 💫
Thank you very much for clarification I must try this
is the code available when we download the code and file from the given download link?
This video is amazing, thank you.
congratulations , this video es very great! , i will suggest it if possible ypu can make more videos with opencv and license plates!! in videos
Lovely post with helpful information. This tutorial ha really helped me a lot. I do like and enjoyed this cool video.
what about 3d real life solution? I'm seeing alot of videos solving this problem from 100m above (probably drone photo) and its useless.
It's probably not possible to install camera at thst angle.
Simplest (expensive) approach would be one camera per stall pointing down at the parking space. For each camera, manually mask out (and possibly top-down homeographize) the designated stall so other stalls don't mess up the process. Then do intermittent thresholding, etc from this video on the image.
Less expensive would be have one camera for multiple stalls, probably fixed in the center of the driving aisle. For each camera (which can see many stalls), manually assign each stall in view a mask or homography.
Great video! ..motorcycles ☹
Awesome project sir!!
Where do I find the video and the image?
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?
dude your pro
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++ 😂
loved it
Best Chanel Bettar THen mr beast
Thank you very much master
thanks for posting
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.
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?
an excellent explanation , I just want to know how we can give an id for each car space ?thank you so much
What about winter or night?
Any update?
That is something unique and awesome ❤🥰
Amazing
Love your work ❤❤
Would you be able to capture this data through a drone? or it has to be a static/fixed camera?
I really don't know how its possible to get this angle
I am pretty sure that the image is not supposed to move?
thanks goat
Excellent project!!!
How tall the camera needs to be set?
Great Video
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?
How do you make it run on an ONLINE system?
+1
Awesome!
pretty new to this, would you all recommend me using my MAC for a project like this?
Great video as always. I would love to see a video by you talking about multiple object tracking with unique id. Thanks
nice video, thanks you so much
please provide any base paper and ppt for this project
I have a problem, when I create the "boxes" for each car only the last box is showed and pixels are only counted in that "box", can someone help me? I dont know why that happens? if i do the cv2.imshow(str(x*y),imgCrop) inside the FOR i got errors please help
so if u get a cardboard board and occupy a car space u can fool the camera?
In reality, only satelite can provide this view, most of the cameras are installed on top of lamp post or on wall
Very good sir
cool tutorial
Hi but what if the ground and car's color will be similar will program then work properly ?
Perfect ❤❤
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?
THANKS!!!!
nice job
Just a simple doubt if we implement this in real time then will the threshold value will not the same because of lightning condition ri8 once we fix the threshold value if the sun light is high or low how can I manage the threshold
thanks for the vid
thanks sir
sir can you tell me which algorithm is used while writing the code.
amazing
Python at its best. Now where should I park?
sir do biomedical advanced projects and also the leafe desease detection using uav and opencv
Mantap, saya suka python CV