Ask Your Question

Revision history [back]

If you need just "magnetic field" orientation, you should divide the full circle not into 10, but into 50 - 100 sectors and apply what is called feature detection here. Feature detection (computer vision) There is a good description for corners. 2D Features framework (feature2d module). You need to modify it for short edges.