I am studying image processing and AI, specifically face detection. I need python code of the MKD SCR Algorithm for partial face detection. Ive attached some sudo code from an article.
Algorithm 1: The MKD-SRC Algorithm
Input: Gallery images of C classes; probe image
I; parameter L.
Output: Identity c of the probe image I.
1 Enrollment: Extract multi-keypoint descriptors
(GTP) from each gallery image and build the
Dictionary D = (D1, D2,… Dc) E RMXK.
2 Recognition:
3 Extract MKDs from the probe image:
Y = (y1, y2, … ,yn) E RMxn;
4 for i=1 to n do
Compute top L descriptors from Eq. (12),
resulting in a sub-dictionary DÖXL;
Solve Eq. (10) with D XL
7 end
8 Solve Eq. (11) to determine the identity c;
5
6
TABLE 3
Parameter Values
a
Parameter
Value
t
0.03
M L
128 100
20