def dump_regions(crops):
    shutil.rmtree("bbox-regions", ignore_errors=True)
    os.makedirs("bbox-regions")

    for idx, img in enumerate(crops):
        fname =  get_region_filename(idx)
        skimage.io.imsave(fname, img[2])

    print "Wrote regions out to disk in bbox-regions/"
Gets the contact with the given contact_id.  Returns the contact info.
dataset/ETHPy150Open BradNeuberg/cloudless/src/cloudless/inference/localization.py/dump_regions--crossover with--dataset/ETHPy150Open npinger/base-crm-api-client/base_client.py/BaseAPIService._get_contact