Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Face recognition in R [closed]

Are there any face recognition algorithms written in the R statistical language? If not, please provide guidance on where I might start translating other algorithms to R.

like image 836
Jefferson X Masonic Avatar asked Feb 02 '12 00:02

Jefferson X Masonic


People also ask

How do I turn off Face Recognition?

But you can turn it off. Just go to Settings > Security > Smart Lock > Trusted face and tap Remove Trusted face..

What is Open set Face Recognition?

An open set face recognition system has to decide whether the probes are known identities or imposters. Imposters are rejected, while genuine identities are accepted and then to be classified. Open set recognition is more practical for applications that usually confronts with unknown people.

Why OpenCV is used in Face Recognition?

Implementation. In this section, we are going to implement face recognition using OpenCV and Python. OpenCV is a video and image processing library and it is used for image and video analysis, like facial detection, license plate reading, photo editing, advanced robotic vision, and many more.


1 Answers

Be sure to check out the update made on May 8, 2013. See below.

Here are a few links/thoughts to get you started:

  1. Does it have to be in R? (There are other languages/packages that are inherently more suitable for image processing.

  2. If R is mandatory, look into the EBImage (it has a pdf vignette) and raster packages. (http://cran.r-project.org/web/packages/raster/)

  3. Where's Waldo? type exercises are always a good place to start if you are new to image processing. Here are is one R question in SO

  4. Here's an actual R example that you will find really useful: "Finding a bright object" exercise in in.R()

  5. Even though it is not in R per se read the responses to image-processing using mathematica question in SO. Some of the ideas there are language-agnostic.

Update

  • R's ReadImages package is another good way to get started with "Image Processing with R."

    • Install the ReadImages package from cran. Documentation
    • Try out a couple of the functions, with some image on your machine. That's only way to learn.

      img <- read.jpeg("abc.jpg) Try out the rgb2grey(img) Also try the clipping() function.

Update 2: May 08, 2013

Kaggle has just published an excellent tutorial for Face Recognition in R (by James Petterson). It has many things going for it: A sample dataset, it doesn't use many esoteric libraries -- just reshape2 and doMC (optional unless you have a multi-core machine).

The Kaggle tutorial covers the idea of facepoints (left_eyebrow, nose tip etc), the idea of a 'mean' location for features and the concept of using image patches to improve recognition. I cannot think of a better link for this question. Be sure to check it out.

Hope these help you get started.

like image 66
Ram Narasimhan Avatar answered Oct 29 '22 16:10

Ram Narasimhan