← Back to UnaGPT Doc

Using UnaGPT OCR - Converting Handwritten Responses with Ease

Print

This guide shows students how to use UnaGPT OCR (text recognition) to turn a photo or PDF of a handwritten answer into text and put it in the answer box. OCR can also handle several questions at once, read writing from the drawing board, and recognise mathematical expressions. Each step comes with a screenshot, and the red numbered markers in each screenshot match the numbered instructions in the text.

Demo video: Turn Handwritten Answers into Text with OCR
Note Depending on the question, the button shows as OCR (English), OCR (Chinese), OCR (Math) or OCR (Code). You can choose up to 10 images or PDF pages at a time.

Section 1 Open OCR

Step 1Click OCR on the question
  1. Click OCR on the question you are answering (marker 1).
  2. The recognised text will be put in that question's answer box (marker 2).
The OCR button and answer box of a question.
Figure 1. The OCR button and answer box of a question.
Step 2Add your handwritten answer

The OCR window gives three ways to add your answer:

  1. Choose Images / PDFs (marker 1): pick photos or a PDF from your device. You can also drag and drop files onto the window.
  2. Open Drawing Board (marker 2): write directly on screen (see Step 6).
  3. Paste Image (marker 3): paste an image you have copied, such as a screenshot. You can also press Ctrl + V or Cmd + V.
Three ways to add an answer in the OCR window.
Figure 2. Three ways to add an answer in the OCR window.

Section 2 Mark Areas and Perform OCR

Step 3Mark an area for each answer box

One photo can hold answers to several questions. The text in each area goes into the matching answer box.

  1. First choose an answer box at the top (marker 1). Each answer box has its own colour, and the number shows how many areas you have marked for it.
  2. Drag on the image to mark one or more areas for that answer box (marker 2). Click the ✕ on an area to delete it. If there is only one question, click Select whole image.
  3. Your images are listed on the left (marker 3). Use the arrows to change their order, or the bin to remove one. The tools under the image let you zoom, rotate and flip it.
  4. When all areas are marked, click Perform OCR (marker 4).
Areas marked for Questions 2, 3 and 4.
Figure 3. Areas marked for Questions 2, 3 and 4.
Step 4Check and edit the result
  1. Click an answer box at the top (marker 1) to see the result for each question.
  2. The area you marked is shown on the left (marker 2).
  3. The recognised text is on the right (marker 3). Check it against the image and fix any mistakes directly.
  4. When it is correct, click Append Results to All Answer Boxes (marker 4).
The OCR result.
Figure 4. The OCR result.
Step 5Check the answer box

The recognised text is added to the end of each question's answer box (marker 1). You can still edit it before you submit.

The recognised text in the answer box.
Figure 5. The recognised text in the answer box.

Section 3 Use the Drawing Board

Step 6Write on the drawing board

Click Open Drawing Board in Step 2 to write with a mouse, stylus or finger.

  1. Choose a colour, Pen or Eraser, and use the slider to change the line width (marker 1).
  2. Undo, Redo and Clear (marker 2).
  3. Zoom in, zoom out and Pan the board (marker 3). You can also click Insert Image to add an image to the board.
  4. When you have finished, click Apply (marker 4). The board is sent to OCR like a photo, and the next steps are the same as in Section 2.
The drawing board.
Figure 6. The drawing board.

Section 4 Math OCR

Step 7Check the math result

Math questions show an OCR (Math) button. The Preview button next to the answer box shows how your working will look.

  1. Each recognised line is shown as a math block (marker 1). Click a block to edit it in the Math Editor (see Step 8).
  2. Insert Math Content (marker 2): add working that is missing from the image.
  3. Cut and Copy (marker 3): move the selected content.
  4. Undo (marker 4): reverse your last action.
  5. When it is correct, click Append Results to All Answer Boxes (marker 5).
The result of math OCR.
Figure 7. The result of math OCR.
Step 8Use the Math Editor
  1. Edit the expression in the input field (marker 1).
  2. Click the keyboard icon to show or hide the virtual math keyboard; click the menu icon to insert more symbols, such as derivatives, integrals, sums and products (marker 2).
  3. The virtual keyboard has four groups: numbers, symbols, letters and Greek letters (marker 3).
  4. Click Finish to keep your changes, or Cancel to discard them (marker 4).
The Math Editor and virtual keyboard.
Figure 8. The Math Editor and virtual keyboard.