regulaforensics / documentreader-web-java-client Goto Github PK
View Code? Open in Web Editor NEWRegula Document Reader web API java client compatible with jvm and android
Home Page: https://regulaforensics.com
Regula Document Reader web API java client compatible with jvm and android
Home Page: https://regulaforensics.com
The type
is present (duplicating the field from AuthenticityCheckResult
), but not elementType
as specified in documentation.
Dear Support,
We’re trying to write a java client for the Document Reader Docker (regulaforensics/docreader:5.2.103350.2); however; am getting an internal server when calling the “api.process(request);”.
Also, I could see that the server logs is showing an exception on “flask/app.py” line 1950.
By the way, the default web page provided by the docker is working just fine.
Am using the same code found in the example on github: https://github.com/regulaforensics/DocumentReader-web-java-client/blob/master/example/src/main/java/com/regula/documentreader/webclient/example/Main.java (https://github.com/regulaforensics/DocumentReader-web-java-client/blob/master/example/src/main/java/com/regula/documentreader/webclient/example/Main.java)
documentreader-serverlog.txt
The fieldName field is missing in the GraphicField model. Kindly rectify 🙏
https://github.com/regulaforensics/DocumentReader-web-java-client/runs/1359281149?check_suite_focus=true
something happened in client
https://github.com/regulaforensics/DocumentReader-web-java-client/runs/1363653677?check_suite_focus=true
Document Overall Status: not valid
Document Number Visual: null
Document Number MRZ: U0996738
Original text
There must be a bug in the code in updating the model in this project which references to https://github.com/regulaforensics/DocumentReader-web-openapi.git
1.
\DocumentReader-web-java-client\client\generator-templates\modelEnum.mustache must be replaced with the original version from OpenApi (https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/Java/modelEnum.mustache)
2.
\DocumentReader-web-openapi\rt-authenticity.yml (original file: https://github.com/regulaforensics/DocumentReader-web-openapi/blob/master/rt-authenticity.yml)
has wrong mapping, you need to replace the following line:
$ref: './authenticity/e-security-feature-type.yml#/components/schemas/SecurityFeatureType'
with
$ref: './authenticity/e-result-type.yml#/components/schemas/AuthenticityResultType'
3.
Java 11 has problems with threetenbp
You shoul change the file https://github.com/regulaforensics/DocumentReader-web-java-client/blob/master/java-generator-config.json
And add:
"dateLibrary": "java8",
to make use of java native date types
Dear Team,
We are trying to pass two different images which belongs to different person (say front image id of person1, and then back image id of person2) for Regula "DocumentReaderApi".
After processing we are getting "CheckResult" as not ok. Is there any object/field can i refer that to get the appropriate issue. this would enhance our user experience alot.
artifact: webclient
version: 5.2.0
Thanks and Regards,
Kishore Kumar. K
docreader is returning version in TransactionInfo section in JSON (example from sample response below), but TransactionInfo model doesn't contain this information. I know that it is possible to obtain it within DeviceInfo model via ping endpoint, but it would be very useful to have this information for each processing response.
Example from sample response:
"TransactionInfo": {
"ComputerName": "fc30e309c3b2",
"DateTime": "2022-04-08T06:20:50.719Z",
"SystemInfo": "Linux, fc30e309c3b2, 5.4.0-105-generic, #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022, x86_64",
"TransactionID": "90ad213b-ff3d-415a-984d-fe36b04930df",
"UserName": "",
"Version": "6.2.157322.528"
},
how can you set the HTTP proxy?
need a username password and a server + port
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.