Commit Graph

6 Commits (main)

Author SHA1 Message Date
SYED MUSTUFA AHMED NAQVI 0ef986e71a feat: add HRMS employee photo face preprocessing engine
Add EmployeePhotoFaceProcessor: a managed pipeline that detects the
largest face in an HRMS portal photo, crops it with margin in a 3:4
frame, normalizes to Hikvision's 480x640 enrollment size (capped
upscale), applies percentile contrast/gamma correction plus an unsharp
mask, and encodes JPEG within a size budget.

Face detection uses Accord.Vision's managed Haar cascade (added as a
package reference) so it works on the existing net48/x86 target with no
native binaries. Returns an explicit NoFace status so callers can skip
enrollment for photos without a detectable face.
2026-08-15 15:57:51 +05:00
SYED MUSTUFA AHMED NAQVI 3bc691933a Copy DeviceSettings.config to the build output directory
Ensure DeviceSettings.config is deployed next to the service executable with serviceconfig.json.
2026-08-05 15:35:38 +05:00
SYED MUSTUFA AHMED NAQVI 93b2bf9bd7 Add MySQL-backed HRMS repositories and DB integration configuration.
1) Introduces DB connectivity, repository abstractions, and new config flags/env overrides.

2) Keeps architecture clean and isolated.
2026-04-14 17:12:10 +05:00
SYED MUSTUFA AHMED NAQVI d2bb7ad566 Added a new path for logs to support exception loging 2026-04-14 10:48:47 +05:00
SYED MUSTUFA AHMED NAQVI 0100f4c5f1 face read support added 2026-04-09 18:14:54 +05:00
SYED MUSTUFA AHMED NAQVI 2455f71296 Initial Commit 2026-04-06 17:19:57 +05:00