{"id":26361393,"url":"https://github.com/jayqi/sample-mapillary-detections","last_synced_at":"2025-07-31T06:10:13.207Z","repository":{"id":280358236,"uuid":"941721723","full_name":"jayqi/sample-mapillary-detections","owner":"jayqi","description":"A proof-of-concept Python package for analyzing panoramic street view imagery from Mapillary","archived":false,"fork":false,"pushed_at":"2025-03-02T23:57:05.000Z","size":125,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T00:41:27.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jayqi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-02T23:39:31.000Z","updated_at":"2025-03-02T23:57:08.000Z","dependencies_parsed_at":"2025-03-03T00:55:25.208Z","dependency_job_id":null,"html_url":"https://github.com/jayqi/sample-mapillary-detections","commit_stats":null,"previous_names":["jayqi/sample-mapillary-detections"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jayqi/sample-mapillary-detections","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayqi%2Fsample-mapillary-detections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayqi%2Fsample-mapillary-detections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayqi%2Fsample-mapillary-detections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayqi%2Fsample-mapillary-detections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jayqi","download_url":"https://codeload.github.com/jayqi/sample-mapillary-detections/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayqi%2Fsample-mapillary-detections/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267997177,"owners_count":24178251,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-03-16T17:37:24.780Z","updated_at":"2025-07-31T06:10:13.188Z","avatar_url":"https://github.com/jayqi.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sample-mapillary-detections\n\nA proof-of-concept Python package for analyzing panoramic street view imagery from Mapillary. Given an input geographical region as a polygon, it will:\n\n- Sample locations in the region with a [low-discrepancy](https://en.wikipedia.org/wiki/Low-discrepancy_sequence) algorithm\n- Query Mapillary for images near each sampled location and select the nearest image that has segmentation results\n- Calculate the total proportion of view area for a select set of segmentation classes\n\nSee [`notebooks/demo.ipynb`](./notebooks/demo.ipynb) for an demonstration using [sample input data](./data/BeverlyHills.geojson).\n\nThis project was developed in association with [Civic Tech DC](https://www.civictechdc.org/).\n\n## Installation\n\n1. Clone this repository and set it as your working directory.\n\n    ```bash\n    git clone https://github.com/jayqi/sample-mapillary-detections.git\n    cd sample-mapillary-detections\n    ```\n\n2. Install dependencies. Using [uv](https://docs.astral.sh/uv/) is recommended to reproduce the exact environment from the provided lockfile.\n\n    ```bash\n    uv sync\n    ```\n\n    Alternatively, you can install the package in any typical way, such as with Pip. **This approach is less reliable as it will not use locked dependency versions.** Using a virtual environment is recommended. This project was developed in Python 3.12.\n\n    ```bash\n    python -m venv .venv\n    source .venv/bin/activate\n    pip install -e .\n    ```\n\n3. Set up your Mapillary credentials. You will need to register an account with [Mapillary](https://www.mapillary.com/). You can find the \"Client Token\" on the [Developers dashboard](https://www.mapillary.com/dashboard/developers). Create a `.env` file from [`.env.example`](./.env.example) and set your token.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayqi%2Fsample-mapillary-detections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayqi%2Fsample-mapillary-detections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayqi%2Fsample-mapillary-detections/lists"}