Jump to content

Recommended Posts

Posted

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

Posted

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%+.

Posted

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...