R中的人脸识别 [英] Face recognition in R

查看:289
本文介绍了R中的人脸识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用R统计语言编写的人脸识别算法?如果没有,请提供指导,说明如何开始将其他算法转换为R.

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.

推荐答案

请务必查看2013年5月8日所做的更新.请参见下文.

以下是一些可以帮助您入门的链接/想法:

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

  1. 它必须在R中吗? (还有其他一些语言/软件包本来就更适合图像处理.

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

如果R是强制性的,请查看 光栅 软件包. ( http://cran.r-project.org/web/packages/raster/)

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

Waldo在哪里? 如果您不熟悉图像处理,则总是一个不错的起点.这是一个 SO中的R问题

这是一个实际的R示例您会发现确实有用: in.R()

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

即使它本身不在R 中,也请阅读

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.

更新

  • R的ReadImages包是使用R进行图像处理"入门的另一种好方法.

  • 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)尝试rgb2grey(img) 也可以尝试使用clipping()功能.

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

更新2:2013年5月8日

Kaggle仅发布了出色的教程用于R中的人脸识别(由 James Petterson ).它有很多功能:一个示例数据集,它不使用许多深奥的库-只是reshape2和doMC(除非您有多核计算机,否则是可选的).

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).

Kaggle教程涵盖了面点(left_eyebrow,鼻尖等)的概念,特征平均"位置的概念以及使用图像补丁提高识别度的概念. 我想不出这个问题的更好链接. 请务必查看 .

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.

这篇关于R中的人脸识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆