Automatic face detection using Picasa API to extract individual images

前端 未结 7 1168
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 01:15

(A similar question has been asked on superuser for answers related to applications. The question is posted here to gather programmable solutions for the same)

相关标签:
7条回答
  • 2020-12-13 01:59

    To answer the picasa question, see this response on the picasa forums:
    http://www.google.com/support/forum/p/Picasa/thread?tid=36ae553a7b49088e&hl=en

    @oedious wrote:- This is going to be somewhat technical, so hang on. * The number encased in rect64() is a 64-bit hexadecimal number. * Break that up into four 16-bit numbers. * Divide each by the maximum unsigned 16-bit number (65535) and you'll have four numbers between 0 and 1. * The four numbers remaining give you relative coordinates for the face rectangle: (left, top, right, bottom). * If you want to end up with absolute coordinates, multiple the left and right by the image width and the top and bottom by the image height.

    0 讨论(0)
提交回复
热议问题