<body onLoad="window.defaultStatus='Welcome!. You are in my weblog.';return true"><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar/9550158?origin\x3dhttps://www.txemaromero.com', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tuesday, June 16, 2009

Principal Components Analysis (PCA) and neural networks

(See previous post: Quality control of mechanical pieces by artificial vision)

In one hand PCA is a useful statistical technique that has found application in fields such as face recognition, image compression or gas sensors, and is a common technique for finding patterns in data of high dimension. On the other hand, a neural network, in the case of artificial neurons called artificial neural network (ANN), is an interconnected group of artificial neurons that uses a mathematical or computational model for information processing based on a connectionistic approach to computation.

The following MATLAB code corresponds to the field of face recognition. Face recognition system is based on principal component analysis and neural network.

[Download source code with GNU GPL licence: Download source code zip] Also available at GitHub: https://github.com/txemaromero/facerecognition