[horde] Ansel faces

Michael J Rubinsky mrubinsk at horde.org
Sat Apr 13 06:22:59 UTC 2013


Quoting Simon Wilson <simon at simonandkate.net>:

> Horde 5.0.4, Ansel 3.0.0-git, updated from git today. facedetect is  
> installed and recognised by test.php. Ansel is configured to use it. 
>
> I have a gallery with a single photo, with three people in it. 
>
> In Chrome, launching the Gallery's Find Faces function opens a page  
> that says "Searching for faces in Test gallery for faces". On the  
> right of the one photo it says "Loading". And never does anything  
> else. If I click on "reget faces for this photo" I get an immediate  
> and reproducible every time apache segfault.
>
> No faces are recognised. 

I've had nothing but headaches with the facedetect library. I had much  
better success with another, no longer available, library (can't  
remember the name of it off hand, but it seems to have simply  
disappeared off the face of the planet).

Anyway, face stuff in Ansel is still obviously somewhat broken. I  
haven't had time to spend to figure out why facedetect won't  
compile/load on my system so I can't debug it right now.

> If I click on Add a custom face range, the photo is loaded with a  
> small movable box. Except the box is not moveable. :)

This works for me. It's how I've been using face support for a while  
now, since I can't get the PECL extension to work right.

> In IE9 the "Loading" but never showing and the segfault issues are  
> the same, but the moveable box works, and a face can be manually  
> added.

Haven't tested IE9 with Ansel. Will have to test next time I load up  
the Windows VM for testing.

> However the Faces are never listed on the "Searching for faces" page.
>
> I can also not see a way to remove the faces once they are assigned  
> - nothing that I can see in the photo's page?

If you click the "Edit Faces" link in the "People in this Photo"  
widget, you will get fields to edit/delete each face you've added.


> Finally - libpuzzle.
>
> $conf[faces][search] is set to 0, which I believe is default? I have  
> libpuzzle installed, but no idea what to set the value to to make it  
> work, and the text:

At one point, this defaulted to 5. The entire idea behind how  
libpuzzle works is just not really favorable for such small images  
that all contain faces. I've never gotten this to work to any degree  
of accuracy...and it uses TONS of database storage to store the index  
chunks. I've never liked this feature, but the code was contributed  
and lots of people expressed interest, so...

> "Enable the similar photo functionality for finding similar faces?  
> Set to 0 to disable, or enter the size, in bytes, that should be  
> used as the photo's index length. If you don't know what this is,  
> the default value should be OK for most people. You need the  
> libpuzzle pecl extension to use this feature"
>
> is of no help at all in working out what to set it to. The default  
> value, which "should be OK for most people" is 0 - which disables it. 

Well, that's the best value for me :P

-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2200 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/horde/attachments/20130413/884e2eef/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6062 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/horde/attachments/20130413/884e2eef/attachment-0003.bin>


More information about the horde mailing list