Demo entry 5867083

Classify Images with Daemo Client API

   

Submitted by anonymous on Aug 24, 2016 at 11:28
Language: Python. Code size: 420 Bytes.

from daemo.client import DaemoClient

daemo = DaemoClient(CREDENTIALS_FILE, rerun_key=RERUN_KEY)

daemo.publish(
    project_key=PROJECT_KEY,
    tasks=[
         {
             "image_url": "http://cdn-media-2.lifehack.org/wp-content/files/2015/08/Your-Words-Affect-Your-Mind-10-Things-Happy-People-Say-Every-Day.jpg"
         }
     ],
     approve=approve_correct_response,
     completed=rate_workers
 )

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).