r/computervision • u/kendryte_k230 • 24d ago
Showcase A project to identify jaywalker
Our team has been working on a solution to identify jaywalkers and collect statistics that can help raise awareness of road safety.
Here in Southeast Asia, pedestrian bridges are sometimes just a few metres away from busy roads. However, people may choose to jaywalk to save time and effort. Crossing directly may take only a few seconds, while using a pedestrian bridge can take several minutes. Jaywalking endangers pedestrians and creates risks for other road users.
We created a MicroPython script that runs on the Kendryte K230 Edge AI development board. It uses a person detector (YOLOv5-nano at 640 px), a vehicle detector (YOLOv8-nano, with 80 COCO classes at 320 px), and a face detector.
To start the project, we defined parameters for the jaywalking rules. We also faced several challenges in making the detections meaningful.
Jaywalking detection parameters and challenges:
- Using the paths of moving vehicles as a proxy for the road area.
- Defining in-lane and between-lanes rules, represented in a state diagram.
- Excluding people on motorcycles or bicycles, as well as people inside cars.
- Ensuring each person is counted only once.
- Defining crosswalk zones.
- Handling objects moving too fast.
- Handling cases where a person remains still for a few seconds.
- False-positive where a person just stood on pavement, smoking, or just talking on the phone.
We’ll be conducting field tests soon and will bring the device to the site to fine-tune the parameters. In the meantime, we found a useful test video: https://www.youtube.com/watch?v=LxADuA9pJGQ
We’ve applied face blurring for privacy for this testing.
We welcome feedback from the community.
4
u/L3STRYAL 24d ago
Dystopian
2
u/Harmonic_Gear 24d ago
more flock cameras, amazing