Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankhereford/traffic-cameras
A NextJS / Flask web tool for georeferencing traffic camera images
https://github.com/frankhereford/traffic-cameras
flask gdal georeferenced-data gis haproxy nextjs object-detection python t3-stack tanstack-react-query traffic-analysis trpc typescript
Last synced: 3 months ago
JSON representation
A NextJS / Flask web tool for georeferencing traffic camera images
- Host: GitHub
- URL: https://github.com/frankhereford/traffic-cameras
- Owner: frankhereford
- License: unlicense
- Created: 2024-01-12T14:55:30.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-03T23:40:32.000Z (10 months ago)
- Last Synced: 2024-09-26T20:56:22.218Z (3 months ago)
- Topics: flask, gdal, georeferenced-data, gis, haproxy, nextjs, object-detection, python, t3-stack, tanstack-react-query, traffic-analysis, trpc, typescript
- Language: Python
- Homepage: https://traffic-cameras.frankhereford.io
- Size: 1.86 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# City of Austin's Traffic Cameras
## Features
- Object detection using the `facebook/detr-resnet-101` model courtesy of [Hugging Face](https://huggingface.co/facebook/detr-resnet-101)
- [Thin Plate Spline](https://en.wikipedia.org/wiki/Thin_plate_spline) transformation to correct for camera perspective
- First class geospatial data via postGIS## Database
### Computed fields for proper geometry
```sql
ALTER TABLE detections
ADD COLUMN location geography(Point, 4326) GENERATED ALWAYS AS (ST_SetSRID(ST_MakePoint(longitude, latitude), 4326)) STORED;ALTER TABLE locations
ADD COLUMN location geography(Point, 4326) GENERATED ALWAYS AS (ST_SetSRID(ST_MakePoint(longitude, latitude), 4326)) STORED;
```