GithubHelp home page GithubHelp logo

shobhit70 / smartparkingsystem Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 8.49 MB

As part of this challenge we have tried to built a brain for a smart parking app using image processing and machine learning using python libraries. Our project takes the image of a parking lot and at any time can provide the list of total parking spaces and how many available for parking.

Jupyter Notebook 100.00%
computer-vision tensorflow azureml python3

smartparkingsystem's Introduction

Smart Parkimg System

This Problem statement was given at TechGig Code Gladiator Finale round hosted at Reliance Navi mumbai office. Traffic congestion caused by vehicle is an alarming problem at a global scale and it has been growing exponentially. Car parking problem is a major contributor and has been, still a major problem with increasing vehicle size in the luxurious segment and confined parking spaces in urban cities. Searching for a parking space is a routine (and often frustrating) activity for many people in cities around the world and contributes to loss of time and money, stress for the drivers as well environmental impact due to unnecessary fuel burning. Smart Parking systems can be a boon in such scenarios. They can be deployed to obtain information about available parking spaces in a particular geographic area and process in real-time to place vehicles at available parking spots. With the help of smart parking system, there would be no congestion in parking lot because the available slot is given by our smart parking app. As part of this challenge we have tried to built a brain for a smart parking app using image processing and machine learning using python libraries. Our project takes the image of a parking lot and at any time can provide the list of total parking spaces and how many available for parking.

Problem at hand

Develop a model to identify the parking slots, its vehicle occupancy, vehicle color and pose from a given image/images. The model should take an image as input and return all detected parking slots in the image in Json format.
    Each detection result from the model should be a list of 5 (cx,cy,v,c,p) values:
  • First two should represent the centre coordinates cx, cy of the detected parking slot
  • Third value should represent the vehicle occupancy v in the parking slot. It should be 1 if the vehicle is present in the parking slot and 0 otherwise.
  • Fourth value should represent the color_code c (0-8 values for White-0, Silver-1, Black-2, Grey-3, Blue-4, Red-5, Brown-6, Green-7, Others-8)
  • Fifth value should represent the pose p (0 for front facing i.e front of the car is looking at the camera, 1 for back, back of the car is looking at the camera)

smartparkingsystem's People

Contributors

shobhit70 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

smartparkingsystem's Issues

getting error in "identify_parking_spots.ipynb"

im getting error in "identify_block" method


KeyError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_6172/7358980.py in
31 rect_coords = []
32 for image, lines in zip(input_image, list_of_lines):
---> 33 new_image, rects = identify_blocks(image, lines)
34 rect_image.append(new_image)
35 rect_coords.append(rects)

~\AppData\Local\Temp/ipykernel_6172/864313665.py in identify_blocks(image, lines, make_copy)
113 avg_x1 = min(avg_x1, tup[0])
114 avg_x2 = max(avg_x2, tup[2])
--> 115 avg_x1 = avg_x1 + c.adjust_dict[i+1][0]
116 avg_y1 = avg_y1 + c.adjust_dict[i+1][1]
117 avg_x2 = avg_x2 + c.adjust_dict[i+1][2]

KeyError: 6

thank you,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.