Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parking Capacity #27

Open
JohnnyD1 opened this issue Sep 15, 2019 · 0 comments
Open

Parking Capacity #27

JohnnyD1 opened this issue Sep 15, 2019 · 0 comments
Assignees
Milestone

Comments

@JohnnyD1
Copy link
Collaborator

JohnnyD1 commented Sep 15, 2019

Task Test

We need to find the parking capacity for each parking lot at UB as this upper-bound will be essential later on when computing the number of vacant spots for each lot.

This test verifies that, given an input image of a parking lot and a template-matching image of a parking space, you can call countSpots() to obtain a count of the number of parking spaces in that parking lot.

Steps

  1. Checkout ParkingLotCapacity.

  2. If you do not yet have OpenCV installed, click the following links to obtain instructions for Windows
    and UNIX-based systems, respectively:
    https://www.learnopencv.com/install-opencv3-on-windows/
    https://docs.opencv.org/master/d2/de6/tutorial_py_setup_in_ubuntu.html.

  3. If you want to specify the dataset from which you are obtaining the lot names from, change the input
    to the df = pd.read_csv("lot_data_with_capacity.csv") call in Line 34 to the filepath of your dataset.
    count_sum.py assumes that your dataset has a column named Parking Lots with each row in that
    column being a name of a parking lot. Be sure to modify this call to your dataset if necessary, or you
    can adapt your dataset to adhere to the call.

  4. Run count_spots.py. A dataframe of your new dataset will be returned, and your original CSV file's
    Parking Lots column will be updated with the counts for each lot.

@JohnnyD1 JohnnyD1 added this to the Sprint1 milestone Sep 15, 2019
@hanoody hanoody self-assigned this Sep 19, 2019
@pururval pururval self-assigned this Sep 20, 2019
@pururval pururval modified the milestones: Sprint1, Sprint2 Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants