MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Sivakumaran Chandrasekaran
on 7 Feb 2013

how to detect speed breaker in a road using matlab?

Answer by Jan Simon
on 7 Feb 2013

It depends on the implementation of the speed breaker. Then can be knobs of less than a centimeter in the pavement, a bump over street of 10 centimeters, road signs, a display showing the current speed.

To consider all of them efficiently with a low error rate I suggest the following: Buy a commercial Matlab version, ask a student to sit on the passenger seat, offer Matlab as payment when the student mentions all speed breakers.

I'm not kidding. I'm physicist and this is seriously the best answer yet. When you want something more technical, please define the problem with any details. But I claim, that it is not useful from a global point of view to bother Matlab, when the job is trivial for humen. A two year old child will be better than the most intelligent Matlab program.

Show 6 older comments

Walter Roberson
on 8 Feb 2013

The comment about thresholding had to do with the fact that there is no road in that image, so if you throw away the white background you get the speed bump.

Jan Simon
on 8 Feb 2013

I'm convinced that a wasp on the camera will confuse the recognition efficiently, such that any automatic reaction will **reduce** the security in the traffic. Everything which encourages the driver to take a nap instead of beeing as concious as possible is nothing I would like to support.

Walter Roberson
on 8 Feb 2013

Detection of a speed bump could be important for automated driving (such as being actively researched by Google.)

Answer by ali elnaggar
on 19 Mar 2015 at 18:17

please code and information "measure car speed">>>>>>>>> thinks

## 4 Comments

## Image Analyst (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/62600#comment_127938

Why do you want to know? Are you working on intelligent vehicle vision systems or something? Just curious...because you seem to work on an incredibly wide variety of projects, from gait to speech to neural networks to gender identification to rain drop detection to filter design to crowd estimation (head counting) to face recognition to video analysis to color segmentation to facial expression identification to 3D imaging to license plate recognition to genetic algorithms to OCR to Simulink to medical imaging to....... And that's all within the last year. Truly impressive. You're approaching the number of different projects I work on in a year.

## Sivakumaran Chandrasekaran (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/62600#comment_127957

I love working with MATLAB. Its very very nice to work with it. Incredible tool. has lot of options in many domains...Moreover I get online support from you, walter, simon and many more matlab experts. Thanks to all of them. I develop projects for students. Thatsy I work in all toolbox which use MATLAB.

## Image Analyst (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/62600#comment_127963

Ah, so you're a MATLAB instructor, that explains the wide variety of subject matter.

## Sivakumaran Chandrasekaran (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/62600#comment_127978

I conduct MATLAB workshops in various engineering colleges as well develop projects for students.