Posts Tagged ‘Amazon Mechanical Turk’

Use Amazon-Turk Command-line tool

October 1, 2012 Leave a comment

AMT-CMD tool box
Do svn to get all the src

  •  Follow instunctions of the UserGuide.html (aws-mturk-clt-1.3.1) to set MTURK_CMD_HOME and JAVA_HOME to point to correct locations.
  •  Also, follow the UserGuide to set up the your-personal-access-key-information in the property file, and pay attention to activate the sanbox server(disable the production server) if you want to give a few try first. I found that I have to change the http to https (of the api address), in order to make it work.

JAVA_HOME=/usr                 (for example)

Configure env.source  in command_line_wrappers
Edit your-path-to-thecvAnotationtool/command_line_wrappers/env.source:
Set CODE_ROOT to point to your-path-to-thecvAnotationtool/command_line_wrappers
Set MTURK_CMD_HOME and JAVA_HOME to point to correct locations
Run bash and do source your-path-to-thecvAnotationtool/command_line_wrappers/env.source (every time you start new shell). Alternatively place it in your .bashrc .

Example 1 — standard AMT –cmd job example  (helloword, best_image, etc)
Follow the UserGuide, down the page, there are several examples, you can simply follow the instruction to run any of them.

Example 2
From the downloaded your-path-to-thecvAnotationtool folder, go to <tasks/attributes_grid>
Do command line run:
../../../command_line_wrappers/ –sandbox