0.0
No commit activity in last 3 years
No release in over 3 years
Uses OpenCV to detect faces.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.0.18, ~> 0.0
 Project Readme

Detect faces using the detectfaces gem

require 'detectfaces'

df = DetectFaces.new('/home/james/faces3.jpg')
File.write '/tmp/faces3.html', df.to_html

`firefox /tmp/faces3.html`

In the above example an image file is read using the detectfaces gem to detect faces which are then highlighted by a green border when rendered to an HTML page as show in the output below.

Output

Screenshot of the web page with a green border around each face detected

Resources

detectfaces faces facedetection detect opencv