Added ignored face fix from rlparadise
This commit is contained in:
parent
ae78daac3c
commit
290e3f220f
|
@ -85,6 +85,11 @@ class picasa_faces_task_Core {
|
||||||
foreach ($faces as $faceId => $faceCoords) {
|
foreach ($faces as $faceId => $faceCoords) {
|
||||||
$faceMapping = ORM::factory("picasa_face")->where("face_id", "=", $faceId)->find();
|
$faceMapping = ORM::factory("picasa_face")->where("face_id", "=", $faceId)->find();
|
||||||
|
|
||||||
|
// This is a special id Picasa uses for ignored faces, skip it
|
||||||
|
if ($faceId == "ffffffffffffffff") {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// If we don't already have a mapping for this face, create one
|
// If we don't already have a mapping for this face, create one
|
||||||
if (!$faceMapping->loaded()) {
|
if (!$faceMapping->loaded()) {
|
||||||
$newTagId = self::getFaceMapping($faceId, $contacts);
|
$newTagId = self::getFaceMapping($faceId, $contacts);
|
||||||
|
|
Reference in New Issue
Block a user