🎯 Objective
To automate the process of uploading photos of examination candidates to HikCentral.
\uD83D\uDCCA Success metrics
Goal | Metric |
---|---|
Check if the students have exam before uploading the photos to HikCentral |
|
Transfer photos from S3 to HikCentral automatically and as scheduled | Save time and manpower |
\uD83E\uDD14 Assumptions
Accepted formats of student photos: PNG, JPEG, JPG
The photos in S3 are saved in format “{StudentId}.png“
All students who have exam, must have photos in S3 ready
\uD83D\uDDD2 Requirements
Requirement | Notes |
---|---|
Get the list of students who have exam on the present week | The data should include: Student ID, Enrolment Date, Completion Date |
Retrieve photos from S3 based on the students list |
|
Insert the photos into HikCentral via OpenAPI |
|
Resources used by the backend system:
Python v3.11.6
OracleDB View
S3 - Student Photos
HikCentral Professional Server and OpenAPI
Each of the request sent for HikCentral OpenAPI requires authentication header, please refer to HCP OpenAPI's Headers Configuration
For guidance on HikCentral, please refer to https://tpp.hikvision.com/tpp/Training. This website contains Support Ticket Form for assistance purposes.
\uD83C\uDFA8 User interaction and design
AWS Architecture Diagram
Flow Chart
Open Questions
Question | Answer | Date Answered |
---|---|---|