Skip to content

Documentation for new feature

apurvabisht97 edited this page Oct 7, 2022 · 4 revisions

LAYOUT ROI GENERATION

DIFFERENT TYPES OF EXTRACTION METHOD

There are three types of extraction methods which we are using for generation of rois .

  1. NUMERIC_CLASSIFICATION: This extraction method is used for numeric detection . for example:- 9,6,7.

  2. CELL_OMR: This extraction method is used for omr detection .

  3. BLOCK_ALPHANUMERIC_CLASSIFICATION: This extraction method is used for Alphanumeric detection . for example:- HELLO WORLD978

THRESHOLD: Layout threshold of width and height for POI(Point of Interest)

  1. minWidth: Minimum widht of layout for detection
  2. minHeight: Minimum height of layout for detection
  3. detectionRadius: radius of 4 corner dark circles for alignment of layout.
  4. experimentalOMRDetection : Pencil detection is also possible when experimentalOMRDetection field is true .

example:

      "layout": {
          "version": "1.0",
          "name": "HINDI8S13QOMR Exam Sheet Form",
                "threshold": {
                    "minWidth": 690,
                    "minHeight": 390,
                    "detectionRadius": 12,
                    "experimentalOMRDetection": true
                },
          "cells": [
              {
                  "cellId": "1",
                  "rois": [
                      {
                          "annotationTags": "ROLLNUMBERID1_1",
                          "extractionMethod": "NUMERIC_CLASSIFICATION",
                          "roiId": "1",
                          "index": 0,
                          "rect": {
                              "top": 151,
                              "left": 54,
                              "bottom": 178,
                              "right": 69
                          }
                      },
Clone this wiki locally