Conheça a nossa nova rota Liveness Streaming!
Name | Type | Required | Description |
---|---|---|---|
fileBase64 | String | Yes, when fileUrl parameter is not provided | Binary data of the file to be processed, encoded as a text string following the RFC3548 standard using base64 encoding. |
fileUrl | String | Yes, when fileBase64 parameter is not provided | Public Url of the file to be processed. |
filePassword | String | Yes, if the submitted file is a password-encrypted PDF | Password encoded as a base64 string, since PDFs allows passwords to be binary data. |
{
"fileBase64": "",
"fileUrl": "",
"filePassword": ""
}
curl --location --request POST 'https://mostqiapi.com/process-image/multipage-content-extraction' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"fileBase64": "",
"fileUrl": "",
"filePassword": ""
}'
{
"result": [
{
"type": "certificado",
"stdType": "certificate",
"score": null,
"tags": [],
"extractions": [
{
"source": "iocr",
"score": 0.91,
"tags": [
"country=bra",
"goal=attest",
"has=address",
"id=bra-boletim-ocorrencia-9",
"language=pt-BR",
"of=document",
"std-type=certificate",
"subtype=boletim-ocorrencia",
"subtype=police-report",
"type=certificado"
],
"sections": [
{
"name": "secao_registro_ocorrencia",
"stdName": null,
"score": 0.92,
"pages": [
{
"number": 1
}
],
"fields": [
{
"name": "data_final",
"stdName": null,
"value": "2024-06-29",
"score": 1.0
},
{
"name": "hora_final",
"stdName": null,
"value": "14:50:00",
"score": 1.0
},
{
"name": "numero_ocorrencia",
"stdName": null,
"value": "27ªDT ITINGA LF-BO-20-22233",
"score": 0.89
},
{
"name": "data_inicio",
"stdName": null,
"value": "2024-06-29",
"score": 0.86
},
{
"name": "hora_inicio",
"stdName": null,
"value": "14:50:00",
"score": 0.86
},
{
"name": "unidade",
"stdName": null,
"value": "27ª DT - ITINGA - LAURO DE FREITAS",
"score": 0.9
},
{
"name": "delegado",
"stdName": null,
"value": "FABIO SANTOS COSTAS SMITH",
"score": 0.91
}
],
"tables": []
},
{
"name": "secao_responsavel_registro",
"stdName": null,
"score": 0.9,
"pages": [
{
"number": 1
}
],
"fields": [
{
"name": "unidade",
"stdName": null,
"value": "27ª DT - ITINGA - LAURO DE FREITAS",
"score": 0.9
},
{
"name": "servidor",
"stdName": null,
"value": "HADSON JUNIOR AGOSTINHO",
"score": 0.91
}
],
"tables": []
},
{
"name": "secao_origem",
"stdName": null,
"score": 0.78,
"pages": [
{
"number": 1
}
],
"fields": [
{
"name": "origem_ocorrencia",
"stdName": null,
"value": "Comunicação Presencial",
"score": 0.92
},
{
"name": "data_documento",
"stdName": null,
"value": "",
"score": 0.77
},
{
"name": "numero_denuncia",
"stdName": null,
"value": "",
"score": 0.72
},
{
"name": "orgao_origem",
"stdName": null,
"value": "",
"score": 0.76
},
{
"name": "autoridade_requisitante",
"stdName": null,
"value": "",
"score": 0.78
},
{
"name": "data_recebimento",
"stdName": null,
"value": "",
"score": 0.77
},
{
"name": "hora_recebimento",
"stdName": null,
"value": "",
"score": 0.77
},
{
"name": "encaminhamento",
"stdName": null,
"value": "",
"score": 0.76
}
],
"tables": []
},
{
"name": "secao_detalhe_ocorrencia",
"stdName": null,
"score": 0.91,
"pages": [
{
"number": 1
}
],
"fields": [
{
"name": "tipo",
"stdName": null,
"value": "Delituoso",
"score": 0.86
},
{
"name": "data",
"stdName": null,
"value": "2024-06-19",
"score": 0.86
},
{
"name": "hora",
"stdName": null,
"value": "11:50:00",
"score": 0.86
},
{
"name": "descricao",
"stdName": null,
"value": "ALEGA O COMUNICANTE, QUE FORA ASSALTADO EM VIA PUBLICA NA LOCALIDADE DO\nCAIC, MAIS PRECISAMENTE NA RUA DE CIMA; RELATOU O MESMO QUE TRANSITAVA\nNO LOCAL A PÉ, QUANDO UM ABORDADO POR UM DESCONHECIDO, QUE MOSTRANDO -\nLHE UMA ARMA NA CINTURA, TIPO REVOLVER DEU VOZ DE ASSALTO; QUE NÃO SOUBE\nDESCREVE - LO FISICAMENTE; QUE NA NA AÇÃO DO MELIANTE FOI SUBTRAÍDO UMA\nMOCHILA NA COR PRETA, CONTENDO SUA CARTEIRA DE CÉDULAS COM RG, C. P. F., UM\nAPARELHO CELULAR MOTOROLA NA COR GRAFITE; UM CARTÃO DE DEBITO DO BANCO\nITAÚ; UM CARTÃO DE CRÉDITO DAS LOJAS RENER; UMA QUANTIA EM ESPÉCIE DE R\n$ 1500,00 (UM MIL E QUINHENTOS REAIS); QUE APÓS O FATO, FUGIU TOMANDO RUMO\nIGNORADO. PANDEMIA COVID 19 REGIME ESPECIAL. PASSAR PARA O SI.",
"score": 1.0
},
{
"name": "endereco",
"stdName": null,
"value": "CAIC; RUA DE CIMA, VIA PUBLICA, ITINGA, Lauro de Freitas, BA - BR",
"score": 1.0
}
],
"tables": []
},
{
"name": "secao_infracao_penal",
"stdName": null,
"score": 1.0,
"pages": [
{
"number": 1
}
],
"fields": [
{
"name": "natureza_ocorrencia",
"stdName": null,
"value": "LEI 2848 Art . 157",
"score": 1.0
}
],
"tables": []
},
{
"name": "secao_pessoas_envolvidas",
"stdName": null,
"score": 1.0,
"pages": [
{
"number": 1
}
],
"fields": [
{
"name": "nome",
"stdName": null,
"value": "FELIPE SANTOS",
"score": 1.0
},
{
"name": "dados_pessoais",
"stdName": null,
"value": "FELIPE SANTOS, Carteira de Identidade: 40.276.662 - 3 SSP/BA, Sexo Masculino, Mãe: CARMEN DOS SANTOS, Nacionalidade: Brasileira, Nascido em: 06/10/1983, Casado (a), Civil, Cutis: BRANCA, Heterossexual, Endereco: 1ª Travessa Getúlio Vargas, Nº 417, QUADRA C, LOTE 16, ITINGA, Lauro de Freitas, BA - BR CEP: 42738 - 760, Telefone Celular: (71) 9999 - 9999, E - mail: testedocsmost@gmail.com",
"score": 1.0
}
],
"tables": []
},
{
"name": "secao_objetos_envolvidos",
"stdName": null,
"score": 0.85,
"pages": [
{
"number": 2
}
],
"fields": [
{
"name": "objeto_subtraido",
"stdName": null,
"value": "OUT - 20 - 49594 - Outros: UMA MOCHILA NA COR PRETA,\nCONTENDO SUA CARTEIRA DE CÉDULAS COM RG, C. P. F., UM\nAPARELHO CELULAR",
"score": 1.0
},
{
"name": "imei",
"stdName": null,
"value": "",
"score": 0.74
},
{
"name": "pessoa_relacionada",
"stdName": null,
"value": "",
"score": 0.81
}
],
"tables": []
}
]
}
]
}
],
"requestId": "OKk7s3gUx0mCp0ZyK2uH9",
"elapsedMilliseconds": 4167,
"status": {
"message": "Ok",
"code": "200",
"errors": null
}
}