Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
A
angular-skyIdentification
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ProjetDemo
angular-skyIdentification
Commits
a19b90bb
Commit
a19b90bb
authored
Feb 19, 2024
by
destin tati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
34ecf527
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
14 deletions
+18
-14
README.md
README.md
+4
-0
src/app/Helper/ConfigHelper.ts
src/app/Helper/ConfigHelper.ts
+6
-6
src/app/service/identification.service.ts
src/app/service/identification.service.ts
+8
-8
No files found.
README.md
View file @
a19b90bb
...
...
@@ -12,4 +12,8 @@ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The appli
## More Informations
please modify the ConfigHelper.ts file with the information sent by email.
Please add the various services in the identification.service.ts file, according to the documents you wish to scan.
Please refere to our platform
`https://platform.skyidentification.com/#/`
src/app/Helper/ConfigHelper.ts
View file @
a19b90bb
...
...
@@ -3,12 +3,12 @@ import { Observable } from "rxjs"
export
class
ConfigHelper
{
// information sent after creation of applicationId by mail
OCR_url
=
"
***
"
OCR_url_status
=
"
***
"
LIVENESS_url
=
"
***
"
FACE_MATCHING_url
=
"
***
"
skyid_fa_sdk_params_url
=
"
***
"
OCR_url
=
"
***
"
;
OCR_url_status
=
"
***
"
;
LIVENESS_url
=
"
***
"
;
FACE_MATCHING_url
=
"
***
"
;
skyid_fa_sdk_params_url
=
"
***
"
;
Recover_Face_Matching_Result_URL
=
"
***
"
;
institution_id
=
"
***
"
;
skyid_fa_sdk_user
=
"
***
"
;
...
...
src/app/service/identification.service.ts
View file @
a19b90bb
...
...
@@ -36,10 +36,10 @@ export class IdentificationService {
form
.
append
(
"
document
"
,
myImage
);
form
.
append
(
'
institution_id
'
,
this
.
helperSky
.
institution_id
);
form
.
append
(
'
application_id
'
,
this
.
helperSky
.
skyid_fa_sdk_appId
);
form
.
append
(
'
channel_id
'
,
"
**
"
);
form
.
append
(
'
service_id
'
,
"
**
"
);
form
.
append
(
'
sub_service_id
'
,
"
**
"
);
form
.
append
(
"
request_data
"
,
'
{"doc_type":"
**
"}
'
);
form
.
append
(
'
channel_id
'
,
"
02
"
);
form
.
append
(
'
service_id
'
,
"
01
"
);
form
.
append
(
'
sub_service_id
'
,
"
005
"
);
form
.
append
(
"
request_data
"
,
'
{"doc_type":"
01
"}
'
);
var
headers
=
new
HttpHeaders
({
Authorization
:
`Bearer
${
bearToken
}
`
,
});
...
...
@@ -53,10 +53,10 @@ export class IdentificationService {
form
.
append
(
"
document_uniqueName
"
,
myImage
);
form
.
append
(
'
institution_id
'
,
this
.
helperSky
.
institution_id
);
form
.
append
(
'
application_id
'
,
this
.
helperSky
.
skyid_fa_sdk_appId
);
form
.
append
(
'
channel_id
'
,
"
**
"
);
form
.
append
(
'
service_id
'
,
"
**
"
);
form
.
append
(
'
sub_service_id
'
,
"
**
"
);
form
.
append
(
"
request_data
"
,
'
{"doc_type":"
**
"}
'
);
form
.
append
(
'
channel_id
'
,
"
02
"
);
form
.
append
(
'
service_id
'
,
"
01
"
);
form
.
append
(
'
sub_service_id
'
,
"
005
"
);
form
.
append
(
"
request_data
"
,
'
{"doc_type":"
01
"}
'
);
var
headers
=
new
HttpHeaders
({
Authorization
:
`Bearer
${
bearToken
}
`
,
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment