meekys / cam_overlay

MIT License
7 stars 3 forks source link

Possible to add speed detection/distance meter? #24

Open Bishamon1987 opened 4 years ago

Bishamon1987 commented 4 years ago

Hey there, so I found this project where someone uses a picamera to detect speeds of cars. I'm not sure if it is possible to build this into cam-overlay. But if it is possible, you might be able to change it to detect distances from an object. Or detect incoming speeds and even register it. Maybe very usable after an accident?

https://github.com/gregtinkers/carspeed.py/blob/master/carspeed.py What do you think?

meekys commented 4 years ago

Cool idea, but I'm not sure how practical that is with the current implementation of cam_overlay.

All the image decoding is currently done on the GPU side to reduce the load on the CPU.

I guess if the texture is read back, it might be possible, but it's a bit over my head.