[Documentation] [TitleIndex] [WordIndex

Command line usage

session_results.py

Download image annotation results from the server and save them into files locally

Usage: rosrun cv_mech_turk2 session_results.py --session=SESSION [--server=SERVER] [--saveto=results/session] [--size=IMG_WIDTHxIMG_HEIGHT] [--truesize] [--naming]

submit_image.py

The program submits images to mechanical turk annotation server.

Usage: rosrun cv_mech_turk2 --session=SESSION --server=SERVER [--web_jpeg_quality=NN] [--web_resolution=WIDTHxHEIGHT] filenames1 [(filename2)*]

convert_outlines_to_masks.py

Converts polygons to segmentation masks. Reads anntoations from dir_to_annotations/annotations and images from dir_to_annotations/images. Outputs dir_to_annotations/masks

Usage: rosrun cv_mech_turk2 convert_outlines_to_masks.py --annotations_dir=dir_to_annotations

rosrun cv_mech_turk2 session_results.py --server=vm6 \
  --session=whiteboard-debug-4s --filter=none

rosrun cv_mech_turk2 convert_outlines_to_masks.py \
  --annotations_dir=./results/whiteboard-debug-4s/


2024-02-24 12:31