pothole-reporter README

The project's README from github.com/coding-parrot/pothole-reporter. As one markdown file: README.md.

Pothole Reporter

An independent Android app for potholes. Drive uses either the mounted phone camera or an H.264 RTSP-over-TCP dashcam while the phone shows Maps or a call; one tap on Photo opens the camera for a pothole check and prepares evidence for an official complaint channel. Reports remain on the phone, and nothing is filed automatically. There is no project-operated backend or account system.

Current release: v1.38.0

Pothole detected by Pothole Reporter Pothole Reporter nationwide India coverage overview

Example detection and current coverage. Map boundary: DataMeet India community, CC0, following the Survey of India standard; no government endorsement. Select either image to enlarge.

Coverage

Area Current scope and handoff
National Highways Potholes only, on operational NH/NE carriageways mapped in the pinned 20 August 2026 OpenStreetMap extract. Matches open Rajmargyatra/1033; the maintainer is not guessed.
All 28 states + 8 Union Territories A confidently contained coordinate can use a conservative official state/UT grievance handoff. The complete GPS-accuracy circle must stay inside a checksum-pinned boundary; border ambiguity fails closed.
Exact city/authority routes Reviewed municipal, metropolitan, and authority-specific routes remain preferred wherever available. Nationwide fallback never replaces a more specific route.
50 largest population centres All 50 from Census 2011 A-04(I). Existing reviewed/statewide routes stay preferred; 8 centres require both a conservative coordinate envelope and an exact structured city/state match before offering a neutral official grievance channel. Markers do not claim complete Urban Agglomeration boundaries.
Delhi Full Delhi NCT. Road damage uses PWD Sewa. NCR places outside NCT never inherit Delhi's route; Noida and Ghaziabad can qualify through the separate Uttar Pradesh route, while Faridabad retains its top-50 neutral route.

National Highway routing runs first, followed by exact city/authority routes, then the state/UT handoff. Boundaries suggest where to start a complaint; they do not prove who owns or maintains a road. The user must review and complete every complaint in the offered official app, portal, WhatsApp, dialler, share sheet, or email client. Nothing is submitted automatically.

How it works

Pothole Reporter architecture

Complaint output

National Highway routing

Downloaded data packs

The APK contains the app and small manifests, not the large reference datasets. When needed, it downloads a versioned state/UT pack or the relevant 2° National Highway tile from this project's GitHub Pages site. The 101 highway geometry tiles total about 18 MB, the 33 current National Highway research packs contain 1,859 records in 1,805,723 bytes, the 36 PMGSY State/UT packs contain 17,717 records in 3,075,718 bytes, and the 34 official State/UT notice packs contain 5,310 open notices in 4,225,170 bytes. Only the relevant files are downloaded and cached. These remote packs do not enlarge the APK; the three manifests add only about 100 KB to a future build. The Play closed-test binary already submitted to Google remains unchanged. All inputs are filtered for explicit carriageway work, so drain-, footpath-, sewer-, utility-, consultancy-, and roadside-plantation-only work is excluded even when its title contains a road name.

Every downloaded pack is checked byte-for-byte against a checksum pinned in the app before it is used, then cached locally. Missing, malformed, or altered required routing, contact, or highway data makes authority routing fail closed—the app does not guess or reuse unverified data. If an optional contract or procurement pack is unavailable, the report continues without a candidate. A verified cached pack is available after its first successful download, although detection, geocoding, and relevant GIS checks still need their respective network services. On a subsequent pack use, caches past their unused limits are pruned automatically; Delete all app data removes the entire pack cache immediately.

A pack request contains no report, photo, or exact coordinates. GitHub Pages can receive the device's IP address, connection metadata, and requested pack URL; the URL reveals the selected state or an approximate 2° highway tile. See the privacy policy.

Install

  1. Install the APK attached to the latest release.
  2. On first launch, enter your OpenAI API key in Settings and choose Phone camera or Dashcam. Phone mode needs camera access; both modes need precise location and notifications.
  3. Capture while safely stopped, or securely mount the phone before starting Drive.
  4. Review the image, location, authority, wording, and contract-verification status before choosing an external complaint channel.

Important limits

Read data sources and limits for exact coverage, provenance, and known gaps.

Build and test

./tools/build-apk.sh
./tests/run-all.sh
# Explicit live-service checks: RUN_LIVE_TESTS=1 ./tests/run-all.sh

License

Code is MIT; data retains its source licences and terms. See LICENSE and data sources and limits.

pothole-reporter (coding-parrot/pothole-reporter)

Searching Database…

这是什么?Pothole Reporter 是一款独立的 Android 应用,在你开车时用手机摄像头或连接的行车记录仪检测坑洼,然后帮你通过该道路对应的正确印度政府官方渠道提交投诉。它绝不会自动提交任何内容;举报记录只留在手机上。
这是纯手机应用,还是我需要单独的行车记录仪设备?它安装在 Android 手机上,仅凭手机自带摄像头即可独立工作;你也可以另外通过 Wi-Fi 连接 H.264 RTSP-over-TCP 行车记录仪,而 GPS、地图和路线规划仍由手机处理。
怎么让它跑起来?安装最新 GitHub release 附带的 APK,首次启动时打开设置输入 OpenAI API 密钥,并选择手机摄像头或行车记录仪模式,之后 Drive 和 Photo 功能才可用。
我需要 OpenAI API 密钥吗?需要,首次启动时必须提供,且使用费用完全由你自己承担(自带密钥);应用还需要摄像头、精确定位和通知权限。
坑洼检测有多可靠?AI 可能漏检真实损坏或产生误报,项目也没有声称任何经过实地验证的准确率数字。它还会有意把平整补丁、井盖修复、砾石纹理和减速带判定为非坑洼。
它只针对马哈拉施特拉邦,还是覆盖全印度?覆盖范围是全国:先走国道(National Highway)路由,再走精确的城市/主管机构路由,然后是覆盖全部 28 个邦和 8 个联邦属地的兜底转接,有道路专属渠道时优先使用。
我的照片和位置数据会发到哪里?坑洼图像和你的 API 密钥直接发给 OpenAI 做检测,坐标发给 OpenStreetMap Nominatim(卡纳塔克邦和海得拉巴还会用到邦级 GIS 服务),其余一切都只存储在手机本地,项目方不运行任何服务器。
应用如何判定坑洼确实被修好了?在之后的行车中,它要求进行一次单独的前后 AI 检查,清晰确认同一区域现在已被完好、完整的修复材料覆盖;视角不完整、被遮挡或模糊的情况仍保持未解决。
应用支持哪些语言?应用目前支持英语、卡纳达语、马拉地语和孟加拉语。
应用有存储我举报记录的后端服务器吗?没有。项目方不运营任何后端或账号系统;照片、坐标和投诉草稿都留在你的手机上,任何内容都不会被自动提交或上传。
Drive 模式如何避免耗尽我的电池?可选的 15/30/60/90 分钟活跃时长上限(默认 30 分钟)会自动停止 Drive,且暂停的时间不计入其中。
Size
157.5 MB
Stars
157
Age
2mo
Commits · 90 Days