Eigenfaces
Eigenfaces
Eigenfaces
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Emgu.CV;
using Emgu.CV.Face;
using Emgu.CV.Structure;
namespace Prototipo1802
{
public static class Eigenfaces
{
public static int eigenTrainedImageCounter;
try
{
string dataDirectory = Directory.GetCurrentDirectory() +
@"\TrainedFaces";
string[] files = Directory.GetFiles(dataDirectory, "*.jpg",
SearchOption.AllDirectories);
try
{
FaceDAL faceDAL = new FaceDAL();
var list = faceDAL.SelectAll();