title: Expo image-manipulator crop - according to facedetector values
body: <p>Short: How can i use facedetector coordinates and sizes for image manipulator crop? I want to crop face from photo.</p>
  <p>Explanation;</p>
  <p>I use expo-camera with facedetection. It works so well. Face detector gives output object</p>
  <pre><code> &quot;origin&quot;: Object {
      &quot;x&quot;: 85.00000000000006,
      &quot;y&quot;: 231.35,   },   &quot;size&quot;: Object {
      &quot;height&quot;: 182,
      &quot;width&quot;: 173.33333333333331,   }, }
  </code></pre>
  <p>I can draw a box around face with that coordinates on camera preview mode it fits with screen dimensions. After taking image, output image is much larger than camere preview. So i can’t use that coordinates to crop picture. I updated facedetector coordinates and sizes with respect to image size. For example my if image width 2 times larger than screen width , i multiplied originx, and width with 2. But image manipulator crop didnt give me desired results.
  Any help would be appreciated.</p>