linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] OMAP4&drivers/misc: introduce face detection module driver
@ 2011-11-26  4:31 tom.leiming at gmail.com
  2011-11-26  4:31 ` [PATCH 1/3] omap4: introduce fdif(face detect module) hwmod tom.leiming at gmail.com
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: tom.leiming at gmail.com @ 2011-11-26  4:31 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

These patches(against -next tree) introduce a device driver under
drivers/misc for enabling one face detection IP[1] which is
integrated inside OMAP4 SoC currently, and have some OMAP4
platform dependent changes to make the module workable on OMAP4 SoC.

For verification purpose, I write one user space utility[2] to
test the module and driver, follows its basic functions:

	- detect faces in a input grayscal picture(PGM raw, 320 by 240)
	- plot a rectangle to mark the detected faces, and save it as
	another same type grayscal picture
	- set detection parameters

I should have though about implementing a face detection demo on video
playback from uvc camera, but OMAP4 DSS on -next tree can't work,
so have to quit the idea.

Looks the performance of the module is not bad, see some detection
results on the link[3][4]. 

Face detection can be used to implement some interesting applications
(camera, face unlock, baby monitor, ...).

 arch/arm/mach-omap2/devices.c              |   33 +
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |   81 +++
 drivers/misc/Kconfig                       |    7 +
 drivers/misc/Makefile                      |    1 +
 drivers/misc/fdif.c                        |  874 ++++++++++++++++++++++++++++
 include/linux/fdif.h                       |   67 +++
 include/linux/major.h                      |    1 +
 7 files changed, 1064 insertions(+), 0 deletions(-)


thanks,
--
Ming Lei


[1], Ch9 of OMAP4 Technical Reference Manual
[2], http://kernel.ubuntu.com/git?p=ming/fdif.git;a=summary
[3], http://kernel.ubuntu.com/~ming/dev/fdif/output
[4], All pictures are taken from http://www.google.com/imghp
and converted to pnm from jpeg format, only for test purpose.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-11-28  3:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-26  4:31 [PATCH 0/3] OMAP4&drivers/misc: introduce face detection module driver tom.leiming at gmail.com
2011-11-26  4:31 ` [PATCH 1/3] omap4: introduce fdif(face detect module) hwmod tom.leiming at gmail.com
2011-11-26  4:31 ` [PATCH 2/3] omap4: build fdif omap device from hwmod tom.leiming at gmail.com
2011-11-26  4:31 ` [PATCH 3/3] drivers/misc: introduce face detection module driver(fdif) tom.leiming at gmail.com
2011-11-26 11:12   ` Alan Cox
2011-11-26 15:04     ` Greg KH
2011-11-26 22:16   ` Sylwester Nawrocki
2011-11-27  3:40     ` Ming Lei
2011-11-27 16:41       ` Sylwester Nawrocki
2011-11-28  3:42         ` Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).