Class Ansel_Faces
Face recognition class
Copyright 2007-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.horde.org/licenses/gpl.
Methods summary
public static
|
#
delete( Ansel_Image $image, integer $face = null )
Delete faces from VFS and DB storage.
Delete faces from VFS and DB storage.
Parameters
- $image
- Image object to delete faces for
- $face
- <p>Face id. If empty, all faces for $image are
removed</p>
Throws
Todo:
Move SQL queries to Ansel_Storage::
|
public static
|
#
getVFSPath( integer $image )
Get image path
Parameters
|
public static
|
|
public static
string
|
#
getLink( array $face )
Get face link. Points to the image that this face is from.
Get face link. Points to the image that this face is from.
Parameters
Returns
string The url for the image this face belongs to.
|
public static
string
|
#
getFaceTile( integer $face )
Generate HTML for a face's tile
Generate HTML for a face's tile
Parameters
Returns
string The generated HTML
|