{"id":13936185,"url":"https://github.com/fabiocarrara/deep-parking","last_synced_at":"2025-07-19T21:31:59.575Z","repository":{"id":114128971,"uuid":"119068350","full_name":"fabiocarrara/deep-parking","owner":"fabiocarrara","description":"Code to reproduce 'Deep Learning for Decentralized Parking Lot Occupancy Detection' paper.","archived":false,"fork":false,"pushed_at":"2023-08-30T07:24:23.000Z","size":18867,"stargazers_count":99,"open_issues_count":6,"forks_count":45,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-27T04:30:44.629Z","etag":null,"topics":["caffe","cnn-classification","image-classification","parking","pycaffe","python2"],"latest_commit_sha":null,"homepage":"http://cnrpark.it","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabiocarrara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-26T15:29:08.000Z","updated_at":"2024-10-07T09:55:50.000Z","dependencies_parsed_at":"2024-04-27T23:49:06.514Z","dependency_job_id":"f595c9a7-9aef-4f14-8a30-e2598a9404a4","html_url":"https://github.com/fabiocarrara/deep-parking","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fabiocarrara/deep-parking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiocarrara%2Fdeep-parking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiocarrara%2Fdeep-parking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiocarrara%2Fdeep-parking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiocarrara%2Fdeep-parking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiocarrara","download_url":"https://codeload.github.com/fabiocarrara/deep-parking/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiocarrara%2Fdeep-parking/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266019657,"owners_count":23864916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caffe","cnn-classification","image-classification","parking","pycaffe","python2"],"created_at":"2024-08-07T23:02:27.022Z","updated_at":"2025-07-19T21:31:54.560Z","avatar_url":"https://github.com/fabiocarrara.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Deep Learning for Decentralized Parking Lot Occupancy Detection\n\nThis repo contains code to reproduce the experiments presented in [Deep Learning for Decentralized Parking Lot Occupancy Detection](https://www.sciencedirect.com/science/article/pii/S095741741630598X).\n\nVisit the [project website](http://cnrpark.it/) for more info and resources (dataset, pre-trained models).\n\n## Requirements\n\n - Caffe with Python interface (PyCaffe)\n\n## Steps to reproduce experiments\n\n 1. Clone this repo together with its submodules:\n\n    ```bash\n    git clone --recursive https://github.com/fabiocarrara/deep-parking.git\n    ```\n\n 2. Download the datasets using the following links and extract them somewhere.\n\n    | Dataset | Link | Size | \n    | ------- | ---- | ---: |\n    | CNRPark | http://cnrpark.it/dataset/CNRPark-Patches-150x150.zip | 36.6 MB |\n    | CNR-EXT | http://cnrpark.it/dataset/CNR-EXT-Patches-150x150.zip | 449.5 MB |\n    | PKLot   | visit [PKLot webpage](https://web.inf.ufpr.br/vri/databases/parking-lot-database/) | 4.6 GB |\n\n\n 3. Get the dataset splits and extract them in the repo folder\n    ```bash\n    # Listfile containing dataset splits\n    wget http://cnrpark.it/dataset/splits.zip\n    unzip splits.zip\n    ```\n\n 4. Add a `config.py` files inside each folder in `splits/` to tell `pyffe` where the images are.\n    The content of the files should be like this (adjust the `root_dir` attribute to the absolute path of the extracted datasets):\n    ```python\n    config = dict(root_folder = '/path/to/dataset/dir/')\n    ```\n    This path will be prepended to each line in the list files defining the various splits.\n\n\n 5. Train and evaluate all the models by running:\n    ```bash\n    python main.py\n    ```\n    Modify `main.py` to select the experiments you want to reproduce.\n    Run `pklot.py` if you want to train and evaluate our architecture on the PKLot splits only.\n    \n## Citation\n\n```\n@article{amato2017deep,\n  title={Deep learning for decentralized parking lot occupancy detection},\n  author={Amato, Giuseppe and Carrara, Fabio and Falchi, Fabrizio and Gennaro, Claudio and Meghini, Carlo and Vairo, Claudio},\n  journal={Expert Systems with Applications},\n  volume={72},\n  pages={327--334},\n  year={2017},\n  publisher={Pergamon}\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiocarrara%2Fdeep-parking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiocarrara%2Fdeep-parking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiocarrara%2Fdeep-parking/lists"}