Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to recognize a zebra crossing from top view using OpenCV? It is not a straight zebra crossing - it has some twists and turns. I have some ideas:

  1. parallel line detection, but the available techniques only work to find straight parallel lines, not curved

  2. template matching to match a template of back to back white and black stripes, but it becomes tedious since I can't find any pattern matching techniques with scaling and rotation

share|improve this question
You should probably post a picture and description of a zebra crossing, as this term is not well known in most countries. – Paul R Dec 26 '12 at 17:40
So it's a square wave. That should show up in the 2D FFT as strong spikes at the frequency of the stripes and its harmonics. Something like Haar wavelet that specifically looks for square waves might be better? – endolith Dec 27 '12 at 6:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.