答案 0 :(得分:2)
在Picasa中标记每张脸后,在与照片相同的文件夹中会有一个名为.picasa.ini
的文件。其内容如下:
[Contacts2]
a5719c14e1f43ecd=Bob;;
3df0fc0982a61960=Tom;;
[188698.jpg]
faces=rect64(4787040aa5044c1d),a5719c14e1f43ecd
backuphash=47212
[188766.jpg]
faces=rect64(49243a1b62da69d0),a5719c14e1f43ecd
backuphash=47212
[188804.jpg]
faces=rect64(283512ee998ed795),3df0fc0982a61960
backuphash=36479
[188803.jpg]
faces=rect64(778799bdf0c8f784),3df0fc0982a61960
backuphash=36479
[188812.jpg]
faces=rect64(28350000ae21dc8b),3df0fc0982a61960
backuphash=36479
[188806.jpg]
faces=rect64(44643314e5f5afd9),3df0fc0982a61960
backuphash=36479
您可以使用此数据计算要裁剪的每个矩形的坐标。
有关.picasa.ini
格式的详细信息,请参阅此问题:
Automatic face detection using Picasa API to extract individual images