How bkuroko/parkfinder_yolo works
ParkFinder processes video or camera frames to detect vehicles, match them to configured parking spaces, smooth occupancy over time, and display or record annotated output. A separate selector creates parking-space polygons; additional scripts capture CCTV frames, run basic live vehicle detection, and extract video frames. The README is empty, and the excerpts do not show all of main.py’s setup or data-path wiring, so those relationships are omitted where they cannot be confirmed.
Main entry points: main.py Parking runner · capture_frame.py CCTV frame capture · extract_frames.py Video frame extractor · select_parking.py Space selector
Components 14
Space setup
- Space selector
select_parking.py - Space polygons
data/parking_spaces.json
Occupancy runtime
- Parking runner
main.py - Matching and tracking
parking_logic.py - Display or video output
main.py
Live camera tools
- CCTV parking runner
live_parking.py - Live vehicle detector
live_yolo.py
Frame preparation
- CCTV frame capture
capture_frame.py - Reference image
images - Video frame extractor
extract_frames.py - Extracted frames
Other components
- Operator
- Video or camera
- YOLO model
Connections 17
- Operator → Space selector: selects spaces
select_parking.py - Space selector → Space polygons: saves polygons
select_parking.py - Operator → Parking runner: starts processing
main.py - Video or camera → Parking runner: provides frames
main.py - Parking runner → YOLO model: loads and detects
main.py - Parking runner → Matching and tracking: updates tracker
main.py - Parking runner → Display or video output: displays or writes
main.py - Operator → CCTV parking runner: starts live run
live_parking.py - CCTV parking runner → Parking runner: calls run
live_parking.py - Video or camera → Live vehicle detector: provides frames
live_yolo.py - Live vehicle detector → YOLO model: runs detection
live_yolo.py - Operator → CCTV frame capture: captures frame
capture_frame.py - Video or camera → CCTV frame capture: provides frame
capture_frame.py - CCTV frame capture → Reference image: writes image
capture_frame.py - Operator → Video frame extractor: extracts frames
extract_frames.py - Video or camera → Video frame extractor: provides frames
extract_frames.py - Video frame extractor → Extracted frames: writes frames
extract_frames.py