# Is it possible to get the normal of an area when I have all 4 corner points?

**URL:** <https://forum.opencv.org/t/is-it-possible-to-get-the-normal-of-an-area-when-i-have-all-4-corner-points/12338>\
**Category:** Python\
**Tags:** calib3d\
**Created:** [March 13, 2023, 12:03pm UTC](https://forum.opencv.org/t/is-it-possible-to-get-the-normal-of-an-area-when-i-have-all-4-corner-points/12338 "2023-03-13T12:03:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suisse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/suisse/32/7377_2.png) [@Suisse](https://forum.opencv.org/u/Suisse)\
**Post date:** [March 13, 2023, 12:03pm UTC](https://forum.opencv.org/t/is-it-possible-to-get-the-normal-of-an-area-when-i-have-all-4-corner-points/12338/1 "2023-03-13T12:03:26Z")

</div>

I try to get the normal of an area (a white paper) where I know in the current image all positions of the 4 corners? I want to know in which direction the arrow is pointing (or its rotations).

I managed to deskew the image, but now how to know the normal?

![image](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/4/443d1518b6765a20b17f7e2eda392f49ade484f8.png)

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [March 13, 2023, 2:29pm UTC](https://forum.opencv.org/t/is-it-possible-to-get-the-normal-of-an-area-when-i-have-all-4-corner-points/12338/2 "2023-03-13T14:29:03Z")

</div>

use solvePnP.

you need at least a decent estimate of the focal length of your camera, also the model points (know the size of that sheet of paper), and the corners in the picture, matched in order.
