Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Add people to an image based on the Picasa ini

:param image: An :obj:`lib.Image` object to add facial data to
:type image: :obj:`lib.Image`
:keyword bounding_box: Should the bounding box for individual faces be 
    parsed.
:type bounding: Boolean

src/p/y/py2FaceR-0.1.1/src/py2facer/commands/base.py   py2FaceR(Download)
        self.LOGGER.info('Loaded %d images', len(images))
        self.LOGGER.info('Parsing facial data from Picasa.')
        iniparser.add_people_to_image(images)
        db_proxy = DbProxy(db_url=self.cmd_config['db_url'])
        api_mgr = FlickrAPIManager()

src/p/y/py2FaceR-0.1.1/src/py2facer/tests/flickr.py   py2FaceR(Download)
                               flickr_proxy=self.flickr_api_mgr)
        self.assertEqual(1, contactmgr.session.query(FlickrContact).count())
        picasa_faceparser.add_people_to_image(self.IMAGES[1], bounding_box=True)
        self.photomgr.add_photo(img)
        self.photomgr.link_photos(flickr_proxy=self.flickr_api_mgr)