Alignment: Line Up Photos with the Form

A photo of a form is rarely taken straight on: the page is tilted, smaller or larger than the original, or seen at an angle. Before Nocarta reads the fields of a photo, it lines the photo up with the form, so each field is read from the right place.


How It Works

Each page of a form has anchors: places that look the same on every copy, such as a logo, a heading or the corner of a printed box. When you fill a form from a photo, Nocarta looks for each anchor on the photo, then straightens and scales the photo to match the form. This happens on every fill, however the photo arrives: from the camera, a bulk upload or another app.

  • The photo you uploaded is kept as you took it. The lined-up copy is the one that is read.
  • If too few anchors are found on a photo, or the form has none, Nocarta straightens the photo by the edges of the sheet instead and turns it the same way as the form. The instance then says "Straightened by the edges of the sheet".
  • If the sheet's edges cannot be used either, the photo is read as it is, and you see the message "This photo could not be lined up with the form."
  • Anchors are found automatically when a form is scanned. You only need to change them if photos of a form do not line up.

The Alignment Screen

Open a form, then Learning → Alignment. A form with several pages shows a button for each page; every page has its own anchors.

Check the anchors

  1. Each anchor is a dashed box on the page, listed beside it with a quality bar.
  2. Click Check anchors to measure the quality of the anchors as they are on screen, including ones you just drew.
  3. Under Try on a photo, choose a photo already filled for this form and click Try. You see whether the photo lines up, how many anchors were found, and the lined-up photo under the form. Slide Form over the photo to compare: when the photo lines up, every printed line appears once; when it does not, lines appear twice. Each anchor is marked Found, Not found or Found in the wrong place. Trying saves nothing.

Move, add or remove anchors

  1. Click an anchor to select it, then drag or resize its box, or type its position and size.
  2. Click Add Manual to draw a new anchor; click Delete selected to remove one.
  3. Click Save Anchors. Anchors you saved are kept when the form is scanned again.

Detect the anchors again

Set the Detection settings, then click Detect Again:

  • What to look for: Printed text suits most forms. Use Detailed areas when the form has little printed text, and Corners of printed lines when it is made mostly of boxes and tables.
  • Number of anchors: from 4 to 24.
  • Minimum quality: from 0 to 1. Places below it are left out.
  • Anchor size and Anchors per quarter apply only to Detailed areas and Corners of printed lines.

Detecting again replaces every anchor of the page, including the ones you moved.


Tips

  • Spread the anchors over the page. Anchors bunched in one corner cannot tell how the rest of the page is turned.
  • At least 4 anchors are needed to line up a photo, and at least half of them must be found on it.
  • Choose places that never change. Printed text, logos and box corners work well. Avoid areas where people write, and blank paper.
  • Correct the fields first, then click Detect Again.
  • An anchor marked "Found in the wrong place" looks like another part of the page. Move it to a more distinctive place or delete it.

Alignment Overview Page

Access via Advanced → Alignment in the sidebar. It lists your forms with and without anchors, with links to set them up.

Need More Help?

Ask AI Assistant