FaceRecognitionusin​gSingularValueDecom​position

This code simply does face recognition using singular value decomposition and its applications.
337 descargas
Actualizado 4 oct 2020

As we know about Linear Algebra and its importance in various applications and areas. eigen values and eigen vectors were used here to recognize a given image. Having numerous images as database, firstly we create a normalized image matrix having images stored as column vectors. Now, having computed the image matrix, we calculate its svd components. So, initially we have mxn sized image matrix, after finding svd of it we get U(mxm), sigma(mxn), V(nxn). Here, U forms basis of our database images.
Then we take any random image from the database as a test image, normalize it and project it on the space of U matrix. After projecting it to that space, we calculate euclidean distance of the test image projected on basis space and original column vectors as images. You'll have n values calculated as euclidean distance, one having minimum amount of distance will be your recognized image.

Note: Add some images of faces to a folder having name "Database" in the working directory before running this code.

P.S.: You can also make a bit change and put a threshold, and say all the values of euclidean distance having lesser value than threshold are recognized images.

Citar como

Ronak Prajapati (2024). FaceRecognitionusingSingularValueDecomposition (https://github.com/ronak0001/FaceRecognitionusingSingularValueDecomposition), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2018b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
1.0.4

Modified

1.0.3

Generalized

1.0.2

Modified and Generalized

1.0.1

Generalized Code

1.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.