ardayigit
ardayigit

Reputation: 177

openCV H detection

For a drone contest, I need to do image processing with openCV to detect an “H” (for a helicopter landing pad). I have tried some classical algorithms, but the result is not satisfying.

Can someone give me some advices please? :)

EDIT: Here is the "H" we need to detect: H letter to be detected

Upvotes: 2

Views: 1231

Answers (1)

The best approach for recognising a helipad is to train a Haar classifier, and then run it on:

  1. original image
  2. Images rotated by plus and minus 22, 45, 68 ,90 degrees

A Haar classifier is trained by adding small rotations, so the above angles should be good enough to cover all rotations of the helipad in an image. another approach is to train multiple classifiers for different rotations; this is more common because Haar classifiers give up with the earliest evidence, and it is fast to run multiple classifiers than rotate a high resolution image.

One can also try template matching with rotations, but that will need a much larger number of rotations.

Upvotes: 1

Related Questions