Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

LINE ID Card OCR


This plugin uses OCR to read images of driver's licenses, residence cards, Japanese passports, and number cards.

·        Main functions

Reads images of identification documents, etc., and analyzes and outputs the information.

Output

o   JSON

o   String ('Type', 'Name', 'Address'......)


Need help?

Technical contact to tech@argos-labs.com


May you search all operations,

1. Parameter setting

  • Basic Settings
    • API Key : Enter the API Key. API Key is required to use the plugin.
    • Receipt Image : Enter the Receipt Image

Select an image or enter the path to an image such as an ID card.


Text from Image


  • Advanced Settings
    • Language :

Select the language in which the identification card will be written.

*Currently, only 'ja' (Japanese) is available.

    • Output Key :

Select the output item.

Normally, Return Value is returned in JSON, but if you make a selection, only the value (value) of the selected item will be returned.

      • Keys

Type": Type of identification (driver's license, passport, resident card, or my number card, and the front and back can also be determined)

Name: Full name

Last Name": family name

First Name

For the above, only for passports, first and last names can be used. Conversely, the first name cannot be used for the passport.

Birthday: Date of birth

Address": Address (or permanent address in the case of a passport)

Expiry Date": Expiry date

Issue Date": Issue date

ID Number: ID number




2. Return Value

  • Result Type
    1. String : JSON / String
    2. CSV: JSON / String
    3. 3.File : JSON / String

3. Example

  • Reading a Drive License image

  • Read image
  • Return Value:

{
  "angle": 0.03431875306626649,
  "boundingBox": [
    [
      4.909941673278809,
      2.2263190746307373
    ],
    [
      681.7364501953125,
      0.7767332196235657
    ],
    [
      683.4130859375,
      433.0683898925781
    ],
    [
      3.7966020107269287,
      430.7986755371094
    ]
  ],
  "fields": {
    "IDNumber": {
      "boundingBox": [
        [
          110.69970703125,
          292.3675537109375
        ],
        [
          363.2623291015625,
          292.7633056640625
        ],
        [
          363.2870788574219,
          322.5942077636719
        ],
        [
          110.65269470214844,
          322.1023864746094
        ]
      ],
      "confidence": 0.9998274445533752,
      "value": "012345678900"
    },
    "address": {
      "boundingBox": [
        [
          77.3650131225586,
          89.36727905273438
        ],
        [
          656.0368041992188,
          88.77340698242188
        ],
        [
          656.1528930664062,
          120.75596618652344
        ],
        [
          77.30460357666016,
          121.11518859863281
        ]
      ],
      "confidence": 0.9996669292449951,
      "value": "東京都千代田区霞が関2-1-2"
    },
    "birthday": {
      "boundingBox": [
        [
          425.3206481933594,
          25.648054122924805
        ],
        [
          655.80615234375,
          25.22572898864746
        ],
        [
          655.9273071289062,
          58.60555648803711
        ],
        [
          425.3680725097656,
          58.930397033691406
        ]
      ],
      "confidence": 0.9863638877868652,
      "value": "昭和61年5月1日生"
    },
    "birthday_dateType": {
      "value": "1986/05/01"
    },
    "expiryDate": {
      "boundingBox": [
        [
          26.37000846862793,
          150.39569091796875
        ],
        [
          425.9227600097656,
          150.29714965820312
        ],
        [
          425.9806823730469,
          190.8365020751953
        ],
        [
          26.273649215698242,
          190.72894287109375
        ]
      ],
      "confidence": 0.9982715845108032,
      "value": "2024年(令和06年)06月01日まで有効"
    },
    "expiryDate_dateType": {
      "value": "2024/06/01"
    },
    "goodDriver": {
      "boundingBox": [
        [
          46.32184982299805,
          252.20216369628906
        ],
        [
          96.01228332519531,
          252.25457763671875
        ],
        [
          95.96297454833984,
          280.8870544433594
        ],
        [
          46.259002685546875,
          280.8164367675781
        ]
      ],
      "confidence": 0.9998533129692078,
      "value": "優良"
    },
    "issueDate": {
      "boundingBox": [
        [
          77.30460357666016,
          121.11518859863281
        ],
        [
          462.8207702636719,
          120.87594604492188
        ],
        [
          462.8731689453125,
          150.2880401611328
        ],
        [
          77.24890899658203,
          150.3831329345703
        ]
      ],
      "confidence": 0.9978859722614288,
      "value": "令和01年05月07日12345"
    },
    "issueDate1": {
      "boundingBox": [
        [
          68.05931854248047,
          328.8249206542969
        ],
        [
          247.980224609375,
          329.19085693359375
        ],
        [
          247.97311401367188,
          355.4065246582031
        ],
        [
          68.00733947753906,
          354.9803466796875
        ]
      ],
      "confidence": 0.9987793564796448,
      "value": "平成15年04月01日"
    },
    "issueDate1_dateType": {
      "value": "2003/04/01"
    },
    "issueDate2": {
      "boundingBox": [
        [
          68.00947570800781,
          353.90521240234375
        ],
        [
          247.97340393066406,
          354.3288879394531
        ],
        [
          247.96669006347656,
          379.11962890625
        ],
        [
          67.9603271484375,
          378.6389465332031
        ]
      ],
      "confidence": 0.9943180084228516,
      "value": "平成17年06月01日"
    },
    "issueDate2_dateType": {
      "value": "2005/06/01"
    },
    "issueDate3": {
      "boundingBox": [
        [
          67.96174621582031,
          377.921875
        ],
        [
          247.96688842773438,
          378.4009094238281
        ],
        [
          247.9596710205078,
          405.000732421875
        ],
        [
          67.90901184082031,
          404.46051025390625
        ]
      ],
      "confidence": 0.9980021715164185,
      "value": "平成29年08月01日"
    },
    "issueDate3_dateType": {
      "value": "2017/08/01"
    },
    "issueDate_dateType": {
      "value": "2019/05/07"
    },
    "issuingOrganization": {
      "boundingBox": [
        [
          463.2504577636719,
          362.03997802734375
        ],
        [
          566.4241333007812,
          362.2923278808594
        ],
        [
          566.5399169921875,
          404.1515808105469
        ],
        [
          463.324951171875,
          403.8442687988281
        ]
      ],
      "confidence": 0.9999926090240479,
      "value": "公安委員会"
    },
    "licenseColor": {
      "value": "gold"
    },
    "licenseConditions": {
      "boundingBox": [
        [
          102.43321228027344,
          192.1791229248047
        ],
        [
          426.8321228027344,
          192.27235412597656
        ],
        [
          426.9745788574219,
          291.4247741699219
        ],
        [
          102.2691421508789,
          290.9219055175781
        ]
      ],
      "confidence": 0.999116063117981,
      "value": "眼鏡等\n見本"
    },
    "licenseType": {
      "value": "大型/中型/-/-/大特/大自二/普自/小特/原付/大二/中二/普二/大特二/引引"
    },
    "name": {
      "boundingBox": [
        [
          76.64453887939453,
          26.286943435668945
        ],
        [
          424.47265625,
          25.649608612060547
        ],
        [
          424.5198059082031,
          58.93159484863281
        ],
        [
          76.58122253417969,
          59.42181396484375
        ]
      ],
      "confidence": 0.9988004565238953,
      "value": "日本花子"
    },
    "nameNormalized": {
      "value": "日本 花子"
    }
  },
  "formID": "JP_DRIVER_LICENSE_FRONT",
  "id": "JP_DRIVER_LICENSE_FRONT",
  "status": "SUCCESS"
}




  • No labels