If you're interested in seeing what we're talking about, try downloading
the latest alpha build on to your Android device at
and take a look. :-)
Dan
On 9 November 2014 22:50, Federico Leva (Nemo) <nemowiki(a)gmail.com> wrote:
Dmitry Brant, 10/11/2014 04:41:
Just throwing this out there:
Would it be possible to have a script that crawls through images on
Commons, detects faces in the images, and embeds the x,y position of the
face(s) into the File page of the image (or into the Exif data of the
image)
We have
https://commons.wikimedia.org/wiki/Commons:Image_annotations . If
you can do this programmatically and reliably, you should make a bot and
ask authorisation to run it over all images:
https://commons.wikimedia.org/wiki/Commons:Bots/Requests
(and makes this information available via the API)?
You could, say, make some parser function in the CommonsMetadata extension
to expose in the API the data (format) we already have. Or just make the
PageImages extension alter the thumbnail it exposes, and use that one.
> For a little context -- in our mobile apps, we'll be featuring images
> related to the article that the user is browsing;
Why? Featuring as in showing outside normal places? Related as in not
included in the article?
I don't yet understand what you're up to here, but the obvious and
standard way to do something like this would be fixing
https://bugzilla.wikimedia.org/show_bug.cgi?id=7757 and use cropped
images only when considered appropriate by the article authors.
Nemo
however, the way that
> we're cropping the images sometimes has the side effect of cropping out
> the face of the subject (when the face is far from the center of the
> image). Even though we can do face detection locally on the user's
> device, it can be a bit slow and a bit intensive. It would be great if
> this task was offloaded, and the face position was returned right along
> with the image itself...
_______________________________________________
Mobile-l mailing list
Mobile-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mobile-l
--
Dan Garry
Associate Product Manager, Mobile Apps
Wikimedia Foundation