How kavya98772/intelligent-parking works
This repository combines a parking-lot occupancy analysis workflow with a browser-based parking view. The main workflow extracts a reference frame, lets an operator mark parking zones, processes video to detect occupied zones, and provides occupancy data and routing-related website assets. The sampled Python sources establish the frame, zone, and detector relationships; the README documents the website rebuild and video-update workflow. Website source behavior is not sampled, so its internal interactions are omitted.
Main entry points: parking_core.py Occupancy analysis · detector.py Video detector · output.mp4 Annotated video · extract_occupancy.py Occupancy data extraction
Components 13
Lot setup
- Reference frame extraction
Project Files/frame_extractor.py - Zone selection UI
Project Files/parking_core.py - Zone polygons
Project Files/bounding_boxes.json
Video analysis
- Video detector
Project Files/detector.py - Occupancy analysis
Project Files/parking_core.py - Annotated video
Project Files/output.mp4
Parking website
- Occupancy data extraction
docs/source/extract_occupancy.py - Occupancy data
docs/source/data/occupancy.json - Lot routing
docs/source/routing.js
Other components
- Operator
- Parking video
- YOLO detection
- Website visitor
Connections 14
- Operator → Reference frame extraction: extracts frame
Project Files/frame_extractor.py - Parking video → Reference frame extraction: reads
Project Files/frame_extractor.py - Operator → Zone selection UI: marks zones
- Zone selection UI → Zone polygons: saves polygons
Project Files/parking_core.py - Parking video → Video detector: provides frames
Project Files/detector.py - Video detector → Occupancy analysis: processes frames
Project Files/detector.py - Occupancy analysis → Zone polygons: loads polygons
Project Files/parking_core.py - Occupancy analysis → YOLO detection: runs detection
- Occupancy analysis → Annotated video: returns annotations
- Video detector → Annotated video: writes video
Project Files/detector.py - Operator → Occupancy data extraction: extracts occupancy
- Annotated video → Occupancy data extraction: reads video
- Occupancy data extraction → Occupancy data: produces data
- Website visitor → Lot routing: uses routing