Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

A few weeks ago I had the idea to count the cars passing in our street using some TF magic. Initially I thought maybe one of the Distance IR/US would work, but quickly realised that the cars would be out of reach of the detection range.

 

Then I thought, "Sound Intensity" ?

 

A passing vehicle produces neat peaks of noisy sound, and this ought to be enough to create some counting application.

 

A couple of days of software tinkering, and it works !  ;D

 

Screenshot attached.

 

It's far from perfect: a passing tractor was counted as 3 vehicles, and the occasional car that glides past really silently doesn't register at all. But so far, out of the 50 counts I'd say that 47 are real.

 

PS. I bought 2x Sound Intensity, because I was hoping to extract vehicle speed too... that's next.

Screen_Shot_2014-04-30_at_Wednesday_30_April_2014_2.thumb.png.6fad65381449c06efdc17ca5dc8a74bb.png

Geschrieben

I would have done this with a reflective light barrier (e.g. http://www.conrad.de/ce/de/product/585418/Quadratische-Lichtschranke-Contrinex-LLK-5050-000-Einweg-Lichtschranke-Sender-Reichweite-15000-mm/?ref=detview1&rt=detview1&rb=1) and the Industrial Digital In Bricklet.

 

I guess this would be 50 out of 50 correct detections.

Geschrieben
  • Autor

100% correct identification is always impossible with all low-level sensor approaches. The classic black hose over the road approach also does not count cars perfectly: if you have some kids dancing on the tube, their dancing will trip the detector. A light barrier could be fooled equally easily. Would it count passing pedestrians? Yes, if the beam is horizontal and low enough. So the beam would have to point downwards, so that it goes over the heads of pedestrians..? That approach would have other undesirable side-effects. And so on..

 

AFAIMK, 100% detection rate is always impossible, so I'm quite happy with a rate in the 95%+.

Geschrieben

You are right ;-)

 

What about RasPi + WebCam + OpenCV  library?

or

 

Realy cool stuff what you can do alreday with (free) software.

 

Geschrieben
  • Autor

Yep, pretty cool software. In fact, I know of a few companies who would have paid a fortune for such capacity just 10 years ago. It is amazing what features can be found in free software these days.

 

But briefly returning to the car counting problem. Did you notice how the video analysis URL you posted also did not latch on to the big white truck?

 

So even if you have heavy-duty hardware and software, 100% is just an impossibility.

 

Even putting a human next to a road, and telling him/her to count everything that passes for x hours... you're not going to get 100% accuracy. Google proved this point again with their house numbers recognition efforts: even humans as detectors don't give you perfection.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.