├── server
├── home
│ ├── __init__.py
│ ├── models.py
│ ├── static
│ │ └── img
│ │ │ ├── fabric.jpg
│ │ │ ├── textures.jpg
│ │ │ ├── thumb-0.png
│ │ │ ├── thumb-1.png
│ │ │ ├── thumb-10.png
│ │ │ ├── thumb-2.png
│ │ │ ├── thumb-3.png
│ │ │ ├── thumb-4.png
│ │ │ ├── thumb-5.png
│ │ │ ├── thumb-6.png
│ │ │ ├── thumb-7.png
│ │ │ ├── thumb-8.png
│ │ │ ├── thumb-9.png
│ │ │ ├── compare_ui.png
│ │ │ ├── opacity_ui.png
│ │ │ ├── blob-sequence.jpg
│ │ │ ├── siggraph2013.png
│ │ │ ├── teaser4-web.jpg
│ │ │ ├── representative.jpg
│ │ │ ├── opensurfaces-segmentation-ui.png
│ │ │ └── siggraph2014-preprint-thumb.png
│ ├── tests.py
│ ├── templates
│ │ ├── index.html
│ │ └── index_table.html
│ └── urls.py
├── pose
│ ├── __init__.py
│ ├── cmd
│ ├── management
│ │ ├── __init__.py
│ │ └── commands
│ │ │ ├── __init__.py
│ │ │ └── fix_pose.py
│ ├── migrations
│ │ └── __init__.py
│ ├── views.py
│ ├── admin.py
│ └── templates
│ │ └── pose
│ │ ├── parse_pose_thumb.html
│ │ └── parse_pose.svg
├── accounts
│ ├── __init__.py
│ ├── signals.py
│ ├── migrations
│ │ └── __init__.py
│ ├── templates
│ │ ├── account
│ │ │ ├── _login_sidebar.html
│ │ │ ├── _signup_sidebar.html
│ │ │ ├── email
│ │ │ │ ├── password_change_subject.txt
│ │ │ │ ├── invite_user_subject.txt
│ │ │ │ ├── invite_user.txt
│ │ │ │ ├── password_change.txt
│ │ │ │ ├── password_reset_subject.txt
│ │ │ │ ├── email_confirmation_subject.txt
│ │ │ │ ├── email_confirmation_message.txt
│ │ │ │ └── password_reset.txt
│ │ │ ├── signup_footer.html
│ │ │ ├── email_confirmed.html
│ │ │ ├── email_confirmation_sent.html
│ │ │ ├── base.html
│ │ │ ├── password_reset_token_fail.html
│ │ │ ├── signup_closed.html
│ │ │ ├── settings.html
│ │ │ ├── signup_ajax.html
│ │ │ ├── delete.html
│ │ │ ├── password_change.html
│ │ │ ├── password_reset_token.html
│ │ │ ├── logout.html
│ │ │ ├── login_ajax.html
│ │ │ ├── password_reset_sent.html
│ │ │ ├── email_confirm.html
│ │ │ └── password_reset.html
│ │ └── admin_shell.html
│ ├── urls.py
│ ├── tests.py
│ ├── admin.py
│ └── forms.py
├── analytics
│ ├── __init__.py
│ ├── js
│ ├── models.py
│ ├── urls.py
│ ├── views.py
│ └── tests.py
├── common
│ ├── __init__.py
│ ├── js
│ ├── cmd
│ ├── management
│ │ ├── __init__.py
│ │ └── commands
│ │ │ ├── __init__.py
│ │ │ └── create_dump_script.py
│ ├── migrations
│ │ └── __init__.py
│ ├── signals.py
│ ├── context_processors.py
│ ├── static
│ │ └── js
│ │ │ └── common
│ │ │ ├── display_stage.coffee
│ │ │ ├── actions_spec.coffee
│ │ │ ├── async_table.coffee
│ │ │ ├── active_timer.coffee
│ │ │ └── hacks.coffee
│ ├── views.py
│ ├── tests.py
│ ├── admin.py
│ ├── log.py
│ ├── wavelets.py
│ ├── cluster.py
│ └── http.py
├── licenses
│ ├── __init__.py
│ ├── migrations
│ │ └── __init__.py
│ ├── views.py
│ ├── tests.py
│ ├── admin.py
│ └── templates
│ │ └── license_inline.html
├── mturk
│ ├── __init__.py
│ ├── css
│ ├── img
│ ├── js
│ ├── cmd
│ ├── management
│ │ ├── __init__.py
│ │ └── commands
│ │ │ ├── __init__.py
│ │ │ ├── mtexpire_invalid_hits.py
│ │ │ ├── mtpending.py
│ │ │ ├── mtbalance.py
│ │ │ ├── mtcubam.py
│ │ │ └── mtconsume.py
│ ├── migrations
│ │ └── __init__.py
│ ├── views
│ │ └── __init__.py
│ ├── static
│ │ ├── img
│ │ │ ├── .png
│ │ │ └── mturk
│ │ │ │ ├── wb1.jpg
│ │ │ │ ├── wb2.jpg
│ │ │ │ ├── wb3.jpg
│ │ │ │ ├── wb4.jpg
│ │ │ │ ├── wb5.jpg
│ │ │ │ ├── wb6.jpg
│ │ │ │ ├── wb7.jpg
│ │ │ │ ├── wb8.jpg
│ │ │ │ ├── wb9.jpg
│ │ │ │ ├── bad1.jpg
│ │ │ │ ├── bad2.jpg
│ │ │ │ ├── bad3.jpg
│ │ │ │ ├── bad4.jpg
│ │ │ │ ├── bad5.jpg
│ │ │ │ ├── bad6.jpg
│ │ │ │ ├── draw1.jpg
│ │ │ │ ├── draw2.jpg
│ │ │ │ ├── draw3.jpg
│ │ │ │ ├── draw4.jpg
│ │ │ │ ├── draw5.jpg
│ │ │ │ ├── draw6.jpg
│ │ │ │ ├── good1.jpg
│ │ │ │ ├── good10.jpg
│ │ │ │ ├── good11.jpg
│ │ │ │ ├── good12.jpg
│ │ │ │ ├── good2.jpg
│ │ │ │ ├── good3.jpg
│ │ │ │ ├── good4.jpg
│ │ │ │ ├── good5.jpg
│ │ │ │ ├── good6.jpg
│ │ │ │ ├── good7.jpg
│ │ │ │ ├── good8.jpg
│ │ │ │ ├── good9.jpg
│ │ │ │ ├── planar.png
│ │ │ │ ├── zoom1.jpg
│ │ │ │ ├── adjust0.jpg
│ │ │ │ ├── adjust1.jpg
│ │ │ │ ├── adjust2.jpg
│ │ │ │ ├── controls.jpg
│ │ │ │ ├── planar2.png
│ │ │ │ ├── wb-bad1.jpg
│ │ │ │ ├── wb-bad2.jpg
│ │ │ │ ├── bsdf_bad1.jpg
│ │ │ │ ├── bsdf_bad2.jpg
│ │ │ │ ├── bsdf_good1.jpg
│ │ │ │ ├── bsdf_good2.jpg
│ │ │ │ ├── bsdf_good3.jpg
│ │ │ │ ├── bsdf_good4.jpg
│ │ │ │ ├── bsdf_good5.jpg
│ │ │ │ ├── bsdf_good6.jpg
│ │ │ │ ├── nonplanar.png
│ │ │ │ ├── nonplanar2.png
│ │ │ │ ├── bsdf_controls.jpg
│ │ │ │ ├── bsdf_controls1.jpg
│ │ │ │ ├── planarity_bad1.jpg
│ │ │ │ ├── planarity_bad2.jpg
│ │ │ │ ├── planarity_bad3.jpg
│ │ │ │ ├── planarity_good1.jpg
│ │ │ │ ├── planarity_good2.jpg
│ │ │ │ ├── planarity_good3.jpg
│ │ │ │ ├── granite-vs-marble.jpg
│ │ │ │ ├── label_bsdf_screen.xcf
│ │ │ │ ├── quality_rectify_ex1a.jpg
│ │ │ │ ├── quality_rectify_ex1b.jpg
│ │ │ │ ├── rectify_material_bad1.jpg
│ │ │ │ ├── rectify_material_bad2.jpg
│ │ │ │ ├── rectify_material_bad3.jpg
│ │ │ │ ├── segment_material_bad1.jpg
│ │ │ │ ├── segment_material_bad2.jpg
│ │ │ │ ├── segment_material_bad3.jpg
│ │ │ │ ├── segment_material_bad4.jpg
│ │ │ │ ├── quality_bsdf_gloss_ex1a.png
│ │ │ │ ├── quality_bsdf_gloss_ex1b.jpg
│ │ │ │ ├── rectify_material_good1.jpg
│ │ │ │ ├── rectify_material_good2.jpg
│ │ │ │ ├── rectify_material_good3.jpg
│ │ │ │ ├── rectify_material_good4.jpg
│ │ │ │ ├── rectify_material_good5.jpg
│ │ │ │ ├── rectify_material_good6.jpg
│ │ │ │ ├── rectify_material_good7.jpg
│ │ │ │ ├── rectify_material_good8.jpg
│ │ │ │ ├── segment_material_good1.jpg
│ │ │ │ ├── segment_material_good2.jpg
│ │ │ │ ├── quality_bsdf_color_expected.png
│ │ │ │ ├── quality_material_shape_bad1.jpg
│ │ │ │ └── quality_material_shape_good1.jpg
│ │ └── js
│ │ │ └── mturk
│ │ │ └── admin
│ │ │ ├── example.coffee
│ │ │ ├── submission.coffee
│ │ │ └── feedback.coffee
│ ├── Makefile
│ ├── signals.py
│ ├── templates
│ │ └── mturk
│ │ │ ├── content_id_script.html
│ │ │ ├── content_json_script.html
│ │ │ ├── base_fixed.html
│ │ │ ├── admin
│ │ │ ├── pending_content_thumb_extra.html
│ │ │ ├── example_thumb_extra.html
│ │ │ ├── test_content_response.html
│ │ │ ├── feedback_entry.html
│ │ │ ├── feedback.html
│ │ │ ├── example.html
│ │ │ └── pending_content_base.html
│ │ │ ├── webgl_compatible_msg.html
│ │ │ ├── experiments
│ │ │ ├── filter_content_inst.html
│ │ │ └── filter_content_inst_content.html
│ │ │ ├── content_script.html
│ │ │ ├── content_preview_grid.html
│ │ │ ├── loading_script.html
│ │ │ ├── webgl_compatible_scripts.html
│ │ │ ├── base_responsive.html
│ │ │ └── examples.html
│ ├── forms.py
│ └── tests.py
├── photos
│ ├── __init__.py
│ ├── js
│ ├── cmd
│ ├── management
│ │ ├── __init__.py
│ │ └── commands
│ │ │ └── __init__.py
│ ├── migrations
│ │ └── __init__.py
│ ├── templates
│ │ └── photos
│ │ │ ├── experiments
│ │ │ ├── photos_content_script.html
│ │ │ ├── quality_scene_thumb.html
│ │ │ ├── photos_preload_script.html
│ │ │ ├── label_whitebalance_inst.html
│ │ │ └── quality_scene_inst.html
│ │ │ ├── thumb_no_overlay.html
│ │ │ ├── detail
│ │ │ ├── photo.html
│ │ │ ├── parse_pose.html
│ │ │ └── segmentation.html
│ │ │ ├── display.svg
│ │ │ ├── label_thumb.html
│ │ │ ├── thumb.html
│ │ │ ├── detail.html
│ │ │ └── by_dataset.html
│ ├── tests.py
│ ├── urls.py
│ └── admin.py
├── static
│ ├── js
│ │ ├── .Rhistory
│ │ ├── array_remove.js
│ │ ├── google-analytics.js
│ │ ├── iso8601.min.js
│ │ ├── thumb_votes.js
│ │ └── csrf.js
│ ├── .gitignore
│ ├── robots.txt
│ ├── favicon.ico
│ ├── img
│ │ ├── dust.png
│ │ ├── grey.png
│ │ ├── dust_@2X.png
│ │ ├── grey2x.png
│ │ ├── paper_2.png
│ │ ├── sort_asc.png
│ │ ├── txture.png
│ │ ├── darkdenim3.png
│ │ ├── grey-white.png
│ │ ├── sort_both.png
│ │ ├── sort_desc.png
│ │ ├── txture_@2X.png
│ │ ├── wild_oliva.png
│ │ ├── ajax-loader.gif
│ │ ├── back_disabled.png
│ │ ├── back_enabled.png
│ │ ├── black_paper.png
│ │ ├── paper_2_@2X.png
│ │ ├── wild_oliva2x.png
│ │ ├── black_paper_@2X.png
│ │ ├── darkdenim3_@2X.png
│ │ ├── forward_enabled.png
│ │ ├── back_enabled_hover.png
│ │ ├── congruent_outline.png
│ │ ├── extra_clean_paper.png
│ │ ├── forward_disabled.png
│ │ ├── sort_asc_disabled.png
│ │ ├── sort_desc_disabled.png
│ │ ├── glyphicons-halflings.png
│ │ ├── extra_clean_paper_@2X.png
│ │ ├── forward_enabled_hover.png
│ │ └── glyphicons-halflings-white.png
│ ├── obj
│ │ ├── blob.bin
│ │ ├── .htaccess
│ │ ├── convert.sh
│ │ └── blob.js
│ ├── tex
│ │ ├── plastic-0.png
│ │ ├── plastic-1.png
│ │ ├── conductor-0.png
│ │ ├── ward-0-ennis.png
│ │ └── ward-1-ennis.png
│ ├── font
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.ttf
│ │ └── fontawesome-webfont.woff
│ ├── css
│ │ ├── images
│ │ │ ├── ui-icons_222222_256x240.png
│ │ │ ├── ui-icons_2e83ff_256x240.png
│ │ │ ├── ui-icons_454545_256x240.png
│ │ │ ├── ui-icons_888888_256x240.png
│ │ │ ├── ui-icons_cd0a0a_256x240.png
│ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png
│ │ │ ├── ui-bg_glass_65_ffffff_1x400.png
│ │ │ ├── ui-bg_glass_75_dadada_1x400.png
│ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png
│ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png
│ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png
│ │ └── dc-labelstuff.css
│ ├── less
│ │ ├── home.less
│ │ ├── mixin.less
│ │ ├── bootstrap
│ │ │ ├── layouts.less
│ │ │ ├── component-animations.less
│ │ │ ├── utilities.less
│ │ │ ├── grid.less
│ │ │ ├── breadcrumbs.less
│ │ │ ├── responsive-768px-979px.less
│ │ │ ├── hero-unit.less
│ │ │ ├── wells.less
│ │ │ ├── responsive-1200px-min.less
│ │ │ ├── close.less
│ │ │ ├── accordion.less
│ │ │ ├── pager.less
│ │ │ ├── media.less
│ │ │ └── scaffolding.less
│ │ ├── base.less
│ │ ├── base-iiw.less
│ │ └── font-awesome
│ │ │ └── path.less
│ └── 500.html
├── segmentation
│ ├── __init__.py
│ ├── cmd
│ ├── management
│ │ ├── __init__.py
│ │ └── commands
│ │ │ └── __init__.py
│ ├── migrations
│ │ └── __init__.py
│ ├── templates
│ │ └── segmentation
│ │ │ ├── experiments
│ │ │ ├── segment_part_person.html
│ │ │ ├── quality_segmentation_inst.html
│ │ │ ├── instruction_thumb.html
│ │ │ ├── part_instruction_thumb.html
│ │ │ ├── quality_segmentation.html
│ │ │ ├── quality_segmentation_thumb.html
│ │ │ └── quality_segmentation_inst_content.html
│ │ │ ├── segmentation_thumb.html
│ │ │ └── segmentation.svg
│ ├── static
│ │ ├── img
│ │ │ └── segmentation
│ │ │ │ ├── mturk
│ │ │ │ ├── bad1.jpg
│ │ │ │ ├── bad2.jpg
│ │ │ │ ├── bad3.jpg
│ │ │ │ ├── good1.jpg
│ │ │ │ ├── good2.jpg
│ │ │ │ ├── controls.jpg
│ │ │ │ ├── good3_horse.jpg
│ │ │ │ ├── toggle_off.jpg
│ │ │ │ ├── toggle_on.jpg
│ │ │ │ ├── scribble_more.jpg
│ │ │ │ ├── scribble_start.jpg
│ │ │ │ ├── tut_image_im0002.jpg
│ │ │ │ └── expected_mask_im0002.png
│ │ │ │ └── mturk_part
│ │ │ │ ├── bad_1.jpg
│ │ │ │ ├── bad_2.jpg
│ │ │ │ ├── good_1.jpg
│ │ │ │ ├── good_2.jpg
│ │ │ │ ├── good_3.jpg
│ │ │ │ ├── controls.jpg
│ │ │ │ ├── im01996.jpg
│ │ │ │ └── expected_mask_im01996.png
│ │ └── js
│ │ │ └── segmentation
│ │ │ └── experiments
│ │ │ ├── segment_person_tut.coffee
│ │ │ ├── segment_part_person_tut.coffee
│ │ │ ├── segment_person.coffee
│ │ │ └── scribble_ui.coffee
│ ├── admin.py
│ ├── tests.py
│ └── urls.py
├── config
│ ├── .gitignore
│ ├── __init__.py
│ ├── supervisor_template.conf
│ ├── logrotate_template.conf
│ └── celery.py
├── templates
│ ├── loading_bar.html
│ ├── d3_css.html
│ ├── block_page.html
│ ├── image_square.svg
│ ├── base_footer.html
│ ├── dataset_items.html
│ ├── svg_marker_arrow_black.svg
│ ├── dataset_filter_items.html
│ ├── list_page.html
│ ├── todo.html
│ ├── 404.html
│ ├── error.html
│ ├── 500.html
│ ├── grid2_page.html
│ ├── grid3_page.html
│ ├── grid4_page.html
│ ├── grid_page.html
│ ├── grid.html
│ ├── base_debug_overlay.html
│ ├── grid4.html
│ ├── endless_list_votes.html
│ ├── d3_scripts.html
│ ├── base_messages.html
│ ├── base_sidenav.html
│ ├── modal_loading.html
│ ├── entry_li.html
│ ├── modal_form.html
│ ├── modal_areyousure.html
│ ├── entry_scripts.html
│ ├── modal_error.html
│ ├── endless_list_curate.html
│ ├── modal_instructions.html
│ ├── endless_list.html
│ └── modal_give_up.html
├── .gitignore
└── manage.py
├── docs
├── .gitignore
├── extending
│ ├── part4.rst
│ └── part3.rst
├── _static
│ └── favicon.ico
├── api
│ ├── common.geom.rst
│ ├── mturk.cubam.rst
│ ├── mturk.utils.rst
│ ├── common.utils.rst
│ ├── photos.utils.rst
│ ├── shapes.utils.rst
│ ├── bsdfs.models.rst
│ ├── mturk.models.rst
│ ├── photos.models.rst
│ ├── accounts.models.rst
│ ├── normals.models.rst
│ ├── intrinsic.models.rst
│ └── shapes.models.rst
├── changes.rst
├── api.rst
├── mturk
│ └── commands.rst
├── architecture.rst
└── extending.rst
├── scripts
├── .gitignore
├── install
│ ├── requirements-python-1.txt
│ ├── install_nginx.sh
│ ├── build_docker.sh
│ ├── install_dirs.sh
│ ├── install_all.sh
│ ├── install_memcached.sh
│ ├── requirements-packages.txt
│ ├── install_nodejs.sh
│ ├── install_packages.sh
│ └── install_server.sh
├── collect_static.sh
├── start_docker.sh
├── create_db.sh
├── run.sh
├── start_worker.sh
├── make_private.sh
└── init_db.sh
├── install_all.sh
└── .gitignore
/server/home/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/pose/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/.gitignore:
--------------------------------------------------------------------------------
1 | _build
2 |
--------------------------------------------------------------------------------
/server/accounts/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/accounts/signals.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/analytics/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/common/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/home/models.py:
--------------------------------------------------------------------------------
1 | #
2 |
--------------------------------------------------------------------------------
/server/licenses/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/mturk/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/photos/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/static/js/.Rhistory:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/scripts/.gitignore:
--------------------------------------------------------------------------------
1 | config.sh
2 |
--------------------------------------------------------------------------------
/server/common/js:
--------------------------------------------------------------------------------
1 | static/js/common
--------------------------------------------------------------------------------
/server/mturk/css:
--------------------------------------------------------------------------------
1 | static/css/mturk
--------------------------------------------------------------------------------
/server/mturk/img:
--------------------------------------------------------------------------------
1 | static/img/mturk
--------------------------------------------------------------------------------
/server/mturk/js:
--------------------------------------------------------------------------------
1 | static/js/mturk
--------------------------------------------------------------------------------
/server/photos/js:
--------------------------------------------------------------------------------
1 | static/js/photos
--------------------------------------------------------------------------------
/server/segmentation/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/accounts/migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/analytics/js:
--------------------------------------------------------------------------------
1 | static/js/analytics
--------------------------------------------------------------------------------
/server/common/cmd:
--------------------------------------------------------------------------------
1 | management/commands
--------------------------------------------------------------------------------
/server/common/management/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/common/migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/licenses/migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/mturk/cmd:
--------------------------------------------------------------------------------
1 | management/commands
--------------------------------------------------------------------------------
/server/mturk/management/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/mturk/migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/photos/cmd:
--------------------------------------------------------------------------------
1 | management/commands
--------------------------------------------------------------------------------
/server/photos/management/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/photos/migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/pose/cmd:
--------------------------------------------------------------------------------
1 | management/commands
--------------------------------------------------------------------------------
/server/pose/management/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/pose/migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/pose/management/commands/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/segmentation/cmd:
--------------------------------------------------------------------------------
1 | management/commands
--------------------------------------------------------------------------------
/server/segmentation/management/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/segmentation/migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/install_all.sh:
--------------------------------------------------------------------------------
1 | scripts/install/install_all.sh
--------------------------------------------------------------------------------
/server/common/management/commands/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/mturk/management/commands/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/photos/management/commands/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/static/.gitignore:
--------------------------------------------------------------------------------
1 | materialshape.csv
2 |
--------------------------------------------------------------------------------
/server/pose/views.py:
--------------------------------------------------------------------------------
1 | # Create your views here.
2 |
--------------------------------------------------------------------------------
/server/segmentation/management/commands/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/licenses/views.py:
--------------------------------------------------------------------------------
1 | # Create your views here.
2 |
--------------------------------------------------------------------------------
/server/static/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Allow: /
3 |
--------------------------------------------------------------------------------
/server/mturk/views/__init__.py:
--------------------------------------------------------------------------------
1 | from .external import *
2 | from .admin import *
3 |
--------------------------------------------------------------------------------
/docs/extending/part4.rst:
--------------------------------------------------------------------------------
1 | Part 4: Write experiment UI
2 | ===========================
3 |
--------------------------------------------------------------------------------
/server/accounts/templates/account/_login_sidebar.html:
--------------------------------------------------------------------------------
1 | {# provide log in sidebar here #}
2 |
--------------------------------------------------------------------------------
/server/accounts/templates/account/_signup_sidebar.html:
--------------------------------------------------------------------------------
1 | {# provide sign up in sidebar here #}
2 |
--------------------------------------------------------------------------------
/server/analytics/models.py:
--------------------------------------------------------------------------------
1 | from django.db import models
2 |
3 | # Create your models here.
4 |
--------------------------------------------------------------------------------
/docs/_static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/docs/_static/favicon.ico
--------------------------------------------------------------------------------
/server/accounts/templates/account/email/password_change_subject.txt:
--------------------------------------------------------------------------------
1 | Change password email notification
--------------------------------------------------------------------------------
/server/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/favicon.ico
--------------------------------------------------------------------------------
/server/accounts/templates/account/email/invite_user_subject.txt:
--------------------------------------------------------------------------------
1 | Create an account on {{ current_site.name }}
--------------------------------------------------------------------------------
/server/static/img/dust.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/dust.png
--------------------------------------------------------------------------------
/server/static/img/grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/grey.png
--------------------------------------------------------------------------------
/server/static/obj/blob.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/obj/blob.bin
--------------------------------------------------------------------------------
/server/mturk/static/img/.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/.png
--------------------------------------------------------------------------------
/server/static/img/dust_@2X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/dust_@2X.png
--------------------------------------------------------------------------------
/server/static/img/grey2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/grey2x.png
--------------------------------------------------------------------------------
/server/static/img/paper_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/paper_2.png
--------------------------------------------------------------------------------
/server/static/img/sort_asc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/sort_asc.png
--------------------------------------------------------------------------------
/server/static/img/txture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/txture.png
--------------------------------------------------------------------------------
/server/static/img/darkdenim3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/darkdenim3.png
--------------------------------------------------------------------------------
/server/static/img/grey-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/grey-white.png
--------------------------------------------------------------------------------
/server/static/img/sort_both.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/sort_both.png
--------------------------------------------------------------------------------
/server/static/img/sort_desc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/sort_desc.png
--------------------------------------------------------------------------------
/server/static/img/txture_@2X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/txture_@2X.png
--------------------------------------------------------------------------------
/server/static/img/wild_oliva.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/wild_oliva.png
--------------------------------------------------------------------------------
/server/static/tex/plastic-0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/tex/plastic-0.png
--------------------------------------------------------------------------------
/server/static/tex/plastic-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/tex/plastic-1.png
--------------------------------------------------------------------------------
/server/analytics/urls.py:
--------------------------------------------------------------------------------
1 | from django.conf.urls import patterns, url
2 |
3 | urlpatterns = patterns(
4 | '',
5 | )
6 |
--------------------------------------------------------------------------------
/server/home/static/img/fabric.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/fabric.jpg
--------------------------------------------------------------------------------
/server/home/static/img/textures.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/textures.jpg
--------------------------------------------------------------------------------
/server/home/static/img/thumb-0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-0.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-1.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-10.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-2.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-3.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-4.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-5.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-6.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-7.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-8.png
--------------------------------------------------------------------------------
/server/home/static/img/thumb-9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/thumb-9.png
--------------------------------------------------------------------------------
/server/static/font/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/font/FontAwesome.otf
--------------------------------------------------------------------------------
/server/static/img/ajax-loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/ajax-loader.gif
--------------------------------------------------------------------------------
/server/static/img/back_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/back_disabled.png
--------------------------------------------------------------------------------
/server/static/img/back_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/back_enabled.png
--------------------------------------------------------------------------------
/server/static/img/black_paper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/black_paper.png
--------------------------------------------------------------------------------
/server/static/img/paper_2_@2X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/paper_2_@2X.png
--------------------------------------------------------------------------------
/server/static/img/wild_oliva2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/wild_oliva2x.png
--------------------------------------------------------------------------------
/server/static/tex/conductor-0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/tex/conductor-0.png
--------------------------------------------------------------------------------
/server/static/tex/ward-0-ennis.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/tex/ward-0-ennis.png
--------------------------------------------------------------------------------
/server/static/tex/ward-1-ennis.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/tex/ward-1-ennis.png
--------------------------------------------------------------------------------
/server/home/static/img/compare_ui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/compare_ui.png
--------------------------------------------------------------------------------
/server/home/static/img/opacity_ui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/opacity_ui.png
--------------------------------------------------------------------------------
/server/mturk/Makefile:
--------------------------------------------------------------------------------
1 | poly.js:
2 | coffee --join poly.js --compile --output static/js/ coffee/
3 |
4 | coffee: poly.js
5 |
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb3.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb4.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb5.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb6.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb7.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb8.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb9.jpg
--------------------------------------------------------------------------------
/server/static/img/black_paper_@2X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/black_paper_@2X.png
--------------------------------------------------------------------------------
/server/static/img/darkdenim3_@2X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/darkdenim3_@2X.png
--------------------------------------------------------------------------------
/server/static/img/forward_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/forward_enabled.png
--------------------------------------------------------------------------------
/server/config/.gitignore:
--------------------------------------------------------------------------------
1 | settings_local.py
2 | apache_include_local.conf
3 | apache_nossl_local.conf
4 | apache_ssl_local.conf
5 |
--------------------------------------------------------------------------------
/server/home/static/img/blob-sequence.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/blob-sequence.jpg
--------------------------------------------------------------------------------
/server/home/static/img/siggraph2013.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/siggraph2013.png
--------------------------------------------------------------------------------
/server/home/static/img/teaser4-web.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/teaser4-web.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bad1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bad1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bad2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bad2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bad3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bad3.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bad4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bad4.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bad5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bad5.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bad6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bad6.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/draw1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/draw1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/draw2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/draw2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/draw3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/draw3.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/draw4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/draw4.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/draw5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/draw5.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/draw6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/draw6.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good10.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good10.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good11.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good12.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good12.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good3.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good4.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good5.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good6.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good7.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good8.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/good9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/good9.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/planar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/planar.png
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/zoom1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/zoom1.jpg
--------------------------------------------------------------------------------
/server/static/img/back_enabled_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/back_enabled_hover.png
--------------------------------------------------------------------------------
/server/static/img/congruent_outline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/congruent_outline.png
--------------------------------------------------------------------------------
/server/static/img/extra_clean_paper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/extra_clean_paper.png
--------------------------------------------------------------------------------
/server/static/img/forward_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/forward_disabled.png
--------------------------------------------------------------------------------
/server/static/img/sort_asc_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/sort_asc_disabled.png
--------------------------------------------------------------------------------
/server/static/img/sort_desc_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/sort_desc_disabled.png
--------------------------------------------------------------------------------
/server/home/static/img/representative.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/home/static/img/representative.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/adjust0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/adjust0.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/adjust1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/adjust1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/adjust2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/adjust2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/controls.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/controls.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/planar2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/planar2.png
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb-bad1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb-bad1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/wb-bad2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/wb-bad2.jpg
--------------------------------------------------------------------------------
/server/static/font/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/font/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/server/static/font/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/font/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/server/static/img/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/glyphicons-halflings.png
--------------------------------------------------------------------------------
/server/accounts/templates/account/email/invite_user.txt:
--------------------------------------------------------------------------------
1 | You have been invited to sign up at {{ current_site.name }}.
2 |
3 | {{ signup_url }}
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_bad1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_bad1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_bad2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_bad2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_good1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_good1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_good2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_good2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_good3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_good3.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_good4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_good4.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_good5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_good5.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_good6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_good6.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/nonplanar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/nonplanar.png
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/nonplanar2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/nonplanar2.png
--------------------------------------------------------------------------------
/server/static/font/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/font/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/server/static/img/extra_clean_paper_@2X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/extra_clean_paper_@2X.png
--------------------------------------------------------------------------------
/server/static/img/forward_enabled_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/forward_enabled_hover.png
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_controls.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_controls.jpg
--------------------------------------------------------------------------------
/server/segmentation/templates/segmentation/experiments/segment_part_person.html:
--------------------------------------------------------------------------------
1 | {% include "segmentation/experiments/segment_person.html" %}
2 |
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/bsdf_controls1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/bsdf_controls1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/planarity_bad1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/planarity_bad1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/planarity_bad2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/planarity_bad2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/planarity_bad3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/planarity_bad3.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/planarity_good1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/planarity_good1.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/planarity_good2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/planarity_good2.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/planarity_good3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/planarity_good3.jpg
--------------------------------------------------------------------------------
/server/static/img/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/img/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/server/accounts/templates/account/email/password_change.txt:
--------------------------------------------------------------------------------
1 | This is the email notification to confirm your password has been changed on {{ user.account.now }}.
--------------------------------------------------------------------------------
/server/mturk/signals.py:
--------------------------------------------------------------------------------
1 | import django.dispatch
2 |
3 | # sent when a HIT is expired
4 | hit_expired = django.dispatch.Signal(providing_args=["instance"])
5 |
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/granite-vs-marble.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/granite-vs-marble.jpg
--------------------------------------------------------------------------------
/server/mturk/static/img/mturk/label_bsdf_screen.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/mturk/static/img/mturk/label_bsdf_screen.xcf
--------------------------------------------------------------------------------
/server/mturk/templates/mturk/content_id_script.html:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/server/mturk/templates/mturk/content_json_script.html:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/server/static/css/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/css/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/server/static/css/images/ui-icons_2e83ff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/css/images/ui-icons_2e83ff_256x240.png
--------------------------------------------------------------------------------
/server/static/css/images/ui-icons_454545_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/css/images/ui-icons_454545_256x240.png
--------------------------------------------------------------------------------
/server/static/css/images/ui-icons_888888_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/css/images/ui-icons_888888_256x240.png
--------------------------------------------------------------------------------
/server/static/css/images/ui-icons_cd0a0a_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/classner/openpose/HEAD/server/static/css/images/ui-icons_cd0a0a_256x240.png
--------------------------------------------------------------------------------
/server/static/obj/.htaccess:
--------------------------------------------------------------------------------
1 |
{{ entry.num_outputs_completed }} / {{ entry.num_outputs_max }} complete, {{ entry.num_outputs_scheduled }} scheduled
3 |Note: We do not store your password in plaintext. We hash it with PBKDF2 and SHA256 using 104 iterations, as recommended by NIST.
2 | -------------------------------------------------------------------------------- /server/templates/todo.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block header %} 4 |Placeholder!
13 | {% endblock %} 14 | -------------------------------------------------------------------------------- /server/templates/404.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block navbar %} {% endblock %} 3 | 4 | {% block content %} 5 |Sorry, this page does not exist.
8 |{{ message|safe }}
8 |Sorry, there was an internal server error.
8 |Try refreshing the page.
9 |No items are available.
15 | {% endif %} 16 | -------------------------------------------------------------------------------- /server/templates/base_debug_overlay.html: -------------------------------------------------------------------------------- 1 | {% if DEBUG %} 2 |No items are available.
15 | {% endif %} 16 | -------------------------------------------------------------------------------- /server/manage.py: -------------------------------------------------------------------------------- 1 | #!/bin/env python2.7 2 | # 3 | # ^ Note the relative path. You must call this the local directory as: 4 | # ./manage.py [args...] 5 | 6 | import os 7 | import sys 8 | 9 | if __name__ == "__main__": 10 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings") 11 | 12 | from django.core.management import execute_from_command_line 13 | execute_from_command_line(sys.argv) 14 | -------------------------------------------------------------------------------- /scripts/start_docker.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script starts the openpose container. 4 | # 5 | 6 | # find the scripts directory 7 | DIR="$( builtin cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 8 | source $DIR/load_config.sh 9 | cd "$REPO_DIR" 10 | 11 | sudo docker run -t -i -p 45001:80 --link "${PROJECT_NAME}-data:${DB_HOST}" \ 12 | -v ${REPO_DIR}/media:/home/appuser/data/media "${PROJECT_NAME}" /bin/bash 13 | -------------------------------------------------------------------------------- /server/common/static/js/common/actions_spec.coffee: -------------------------------------------------------------------------------- 1 | describe 'UndoableEvent', -> 2 | 3 | beforeEach, -> @ue = new UndoableEvent() 4 | 5 | it "throws an exception", -> 6 | expect(@ue.undo()).toThrow(); 7 | expect(@ue.redo()).toThrow(); 8 | expect(@ue.run()).toThrow(); 9 | expect(@ue.entry()).toThrow(); 10 | 11 | describe 'UndoRedo', -> 12 | 13 | beforeEach, -> 14 | @ur = new UndoRedo() 15 | 16 | -------------------------------------------------------------------------------- /scripts/create_db.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script starts a container with a postgres database 4 | # 5 | 6 | # find the scripts directory 7 | # DIR="$( builtin cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 8 | #source $DIR/load_config.sh 9 | source scripts/load_config.sh 10 | cd "$REPO_DIR" 11 | mkdir -p ${DB_DIR} 12 | sudo docker run --name "${PROJECT_NAME}-data" -v ${DB_DIR}:/var/lib/postgresql/data -d postgres 13 | -------------------------------------------------------------------------------- /server/static/less/bootstrap/layouts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Layouts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container (centered, fixed-width layouts) 7 | .container { 8 | .container-fixed(); 9 | } 10 | 11 | // Fluid layouts (left aligned, with sidebar, min- & max-width content) 12 | .container-fluid { 13 | padding-right: @gridGutterWidth; 14 | padding-left: @gridGutterWidth; 15 | .clearfix(); 16 | } -------------------------------------------------------------------------------- /server/mturk/templates/mturk/experiments/filter_content_inst.html: -------------------------------------------------------------------------------- 1 | {# Base template for binary tasks where users click on items arranged in a grid #} 2 | 3 | {% extends "mturk/base_responsive.html" %} 4 | {% load humanize %} 5 | {% load compress %} 6 | 7 | {% block content %} 8 |{% blocktrans with email=confirmation.email_address.email %}You have confirmed {{ email }}{% endblocktrans %}
11 | {% endblock %} 12 | -------------------------------------------------------------------------------- /server/static/less/bootstrap/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | 6 | .fade { 7 | opacity: 0; 8 | .transition(opacity .15s linear); 9 | &.in { 10 | opacity: 1; 11 | } 12 | } 13 | 14 | .collapse { 15 | position: relative; 16 | height: 0; 17 | overflow: hidden; 18 | .transition(height .35s ease); 19 | &.in { 20 | height: auto; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /server/static/js/google-analytics.js: -------------------------------------------------------------------------------- 1 | var _gaq =_gaq||[]; 2 | _gaq.push(['_setAccount','UA-35926441-1']); 3 | _gaq.push(['_trackPageview']); 4 | (function(){ 5 | var ga=document.createElement('script'); 6 | ga.type='text/javascript'; 7 | ga.async=true; 8 | ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js'; 9 | var s=document.getElementsByTagName('script')[0]; 10 | s.parentNode.insertBefore(ga,s); 11 | })(); 12 | -------------------------------------------------------------------------------- /scripts/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script runs everything. 4 | # 5 | 6 | # find the scripts directory 7 | DIR="$( builtin cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 8 | source $DIR/load_config.sh 9 | cd "$REPO_DIR" 10 | 11 | touch $REPO_DIR/nginx-access.log 12 | 13 | service rabbitmq-server start 14 | service memcached start 15 | service supervisor start 16 | supervisorctl start ${PROJECT_NAME} 17 | service nginx start 18 | bash "$DIR/start_worker.sh" & 19 | -------------------------------------------------------------------------------- /server/accounts/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /server/common/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /server/home/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /server/licenses/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /server/mturk/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /server/photos/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /server/analytics/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /server/segmentation/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /server/segmentation/templates/segmentation/experiments/instruction_thumb.html: -------------------------------------------------------------------------------- 1 |We are trying to build a database of materials. This experiment is part of ongoing research at Cornell University. Thank you for participating!
13 | -------------------------------------------------------------------------------- /server/static/js/iso8601.min.js: -------------------------------------------------------------------------------- 1 | /** https://github.com/csnover/js-iso8601 */(function(n,f){var u=n.parse,c=[1,4,5,6,7,10,11];n.parse=function(t){var i,o,a=0;if(o=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/.exec(t)){for(var v=0,r;r=c[v];++v)o[r]=+o[r]||0;o[2]=(+o[2]||1)-1,o[3]=+o[3]||1,o[8]!=="Z"&&o[9]!==f&&(a=o[10]*60+o[11],o[9]==="+"&&(a=0-a)),i=n.UTC(o[1],o[2],o[3],o[4],o[5]+a,o[6],o[7])}else i=u?u(t):NaN;return i}})(Date) 2 | -------------------------------------------------------------------------------- /server/mturk/management/commands/mtexpire_invalid_hits.py: -------------------------------------------------------------------------------- 1 | from clint.textui import progress 2 | 3 | from django.core.management.base import BaseCommand 4 | from django.db import transaction 5 | 6 | from mturk.models import MtHit 7 | 8 | 9 | class Command(BaseCommand): 10 | args = '' 11 | help = 'Fixes a bug with objects being sent out early' 12 | 13 | def handle(self, *args, **options): 14 | from mturk.tasks import expire_invalid_hits 15 | expire_invalid_hits(show_progress=True) 16 | -------------------------------------------------------------------------------- /server/static/less/bootstrap/utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Quick floats 7 | .pull-right { 8 | float: right; 9 | } 10 | .pull-left { 11 | float: left; 12 | } 13 | 14 | // Toggling content 15 | .hide { 16 | display: none; 17 | } 18 | .show { 19 | display: block; 20 | } 21 | 22 | // Visibility 23 | .invisible { 24 | visibility: hidden; 25 | } 26 | 27 | // For Affix plugin 28 | .affix { 29 | position: fixed; 30 | } 31 | -------------------------------------------------------------------------------- /server/static/less/base.less: -------------------------------------------------------------------------------- 1 | // Bootstrap+Bootswatch+DataTables 2 | @import "bootstrap/bootstrap.less"; 3 | @import "bootstrap-ext/bootswatch.less"; 4 | @import "bootstrap-ext/DT_bootstrap.less"; 5 | @import "bootstrap-ext/combobox.less"; 6 | 7 | @import "font-awesome/font-awesome.less"; 8 | 9 | @import "mixin.less"; 10 | @import "global.less"; 11 | @import "jumbotron.less"; 12 | @import "home.less"; 13 | @import "overlay.less"; 14 | @import "svg.less"; 15 | @import "misc.less"; 16 | 17 | @import "responsive.less"; 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Temporary. 2 | images 3 | 4 | # Folders that are being used by the server. 5 | /data/ 6 | /db/ 7 | /media/ 8 | /backup/ 9 | /venv/ 10 | /opt/ 11 | /run/ 12 | /figures/ 13 | /synthetic/ 14 | /test-renders/ 15 | /celerybeat-schedule 16 | 17 | # OS folders. 18 | dist/ 19 | build/ 20 | release/ 21 | .DS_Store/ 22 | 23 | # Files. 24 | *.DS_Store 25 | *~ 26 | *.log 27 | *.pyc 28 | .*.xml 29 | .*.swp 30 | .*.swo 31 | .*.swn 32 | .*.tmp 33 | .swp 34 | .ropeproject 35 | tmp.conf 36 | pg_dump.sql.gz 37 | Thumbs.db 38 | -------------------------------------------------------------------------------- /server/static/css/dc-labelstuff.css: -------------------------------------------------------------------------------- 1 | .chart-row { margin-top: 20px; margin-bottom: 20px; } 2 | .reset { margin-left: 10px; margin-top: -11px; } 3 | .chart-title { font-size: 20px } 4 | .chart-subtitle { margin-top: 10px; color: #444; } 5 | .filter-count { font-weight: bold; color: #914646;} 6 | .total-count { font-weight: bold; color: #914646;} 7 | #data-count { float: right; } 8 | #data-count .reset { margin-top: 0px; } 9 | 10 | table { margin-top: 10px; table-layout: fixed; } 11 | table th, table td { overflow: hidden; } 12 | -------------------------------------------------------------------------------- /server/common/admin.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | # In the admin panel, when adding new fields, 4 | # sets the 'user' field to be the current logged in user 5 | # as the default 6 | class AutoUserMixin(object): 7 | def formfield_for_foreignkey(self, db_field, request, **kwargs): 8 | if db_field.name == 'user': 9 | kwargs['initial'] = request.user.id 10 | return db_field.formfield(**kwargs) 11 | return super(AutoUserMixin, self).formfield_for_foreignkey( 12 | db_field, request, **kwargs) 13 | -------------------------------------------------------------------------------- /server/static/less/base-iiw.less: -------------------------------------------------------------------------------- 1 | // Bootstrap+Bootswatch+DataTables 2 | @import "bootstrap/bootstrap.less"; 3 | @import "bootstrap-ext/bootswatch.less"; 4 | @import "bootstrap-ext/DT_bootstrap.less"; 5 | @import "bootstrap-ext/combobox.less"; 6 | 7 | @import "font-awesome/font-awesome.less"; 8 | 9 | @import "mixin.less"; 10 | @import "global.less"; 11 | @import "jumbotron-iiw.less"; 12 | @import "home.less"; 13 | @import "overlay.less"; 14 | @import "svg.less"; 15 | @import "misc.less"; 16 | 17 | @import "responsive.less"; 18 | -------------------------------------------------------------------------------- /server/templates/d3_scripts.html: -------------------------------------------------------------------------------- 1 | {% load compress %} 2 | 3 | 4 | 5 | 6 | 7 | {% compress js %} 8 | 9 | 10 | {% endcompress %} 11 | -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- 1 | API Reference 2 | ============= 3 | 4 | Models 5 | ------ 6 | 7 | .. toctree:: 8 | :maxdepth: 3 9 | 10 | api/mturk.models 11 | api/intrinsic.models 12 | api/bsdfs.models 13 | api/photos.models 14 | api/shapes.models 15 | api/normals.models 16 | api/accounts.models 17 | 18 | Utilities 19 | --------- 20 | 21 | .. toctree:: 22 | :maxdepth: 3 23 | 24 | api/common.utils 25 | api/common.geom 26 | api/photos.utils 27 | api/shapes.utils 28 | api/mturk.cubam 29 | api/mturk.utils 30 | -------------------------------------------------------------------------------- /server/templates/base_messages.html: -------------------------------------------------------------------------------- 1 | 4 | {% for message in messages %} 5 | 9 | {% endfor %} 10 | -------------------------------------------------------------------------------- /server/static/obj/blob.js: -------------------------------------------------------------------------------- 1 | { 2 | 3 | "metadata" : 4 | { 5 | "formatVersion" : 3.1, 6 | "sourceFile" : "blob.obj", 7 | "generatedBy" : "OBJConverter", 8 | "vertices" : 16386, 9 | "faces" : 32768, 10 | "normals" : 16386, 11 | "uvs" : 0, 12 | "materials" : 0 13 | }, 14 | 15 | "materials": [ { 16 | "DbgColor" : 15658734, 17 | "DbgIndex" : 0, 18 | "DbgName" : "default" 19 | }], 20 | 21 | "buffers": "blob.bin" 22 | 23 | } 24 | -------------------------------------------------------------------------------- /server/segmentation/templates/segmentation/experiments/part_instruction_thumb.html: -------------------------------------------------------------------------------- 1 |Body Part: {{ prop.part_name }}
7 | {% endwith %} 8 |Please check if the segmentations below align with the central person.
9 | {% endblock %} 10 | 11 | {% block counter_name %} 12 | object(s) are segmented to align with the central person. 13 | {% endblock %} 14 | -------------------------------------------------------------------------------- /server/static/less/bootstrap/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: 8px 15px; 8 | margin: 0 0 @baseLineHeight; 9 | list-style: none; 10 | background-color: #f5f5f5; 11 | .border-radius(@baseBorderRadius); 12 | li { 13 | display: inline-block; 14 | .ie7-inline-block(); 15 | text-shadow: 0 1px 0 @white; 16 | } 17 | .divider { 18 | padding: 0 5px; 19 | color: #ccc; 20 | } 21 | .active { 22 | color: @grayLight; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /server/accounts/templates/account/email_confirmation_sent.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load url from future %} 4 | {% load i18n %} 5 | 6 | {% block head_title %}{% trans "Confirm your email address" %}{% endblock %} 7 | 8 | {% block content %} 9 |{% blocktrans %}We have sent you an email to {{ email }} for verification. Follow the link provided to finalize the signup process.{% endblocktrans %}
12 | 13 | {% endblock %} 14 | -------------------------------------------------------------------------------- /server/photos/templates/photos/detail/parse_pose.html: -------------------------------------------------------------------------------- 1 |This person has not been annotated, yet.
9 | {% endif %} 10 | {% endfor %} 11 | {% else %} 12 |This photo has not been annotated, yet.
13 | {% endif %} 14 | -------------------------------------------------------------------------------- /server/photos/templates/photos/experiments/label_whitebalance_inst.html: -------------------------------------------------------------------------------- 1 | {% extends "mturk/base_responsive.html" %} 2 | {% load humanize %} 3 | 4 | {% block content %} 5 |Body Part: {{ task.part_name }} 7 | {% for assessment in entry.qualities.all %} 8 | {% if assessment.correct %} 9 | 10 | {% else %} 11 | 12 | {% endif %} 13 | {% endfor %} 14 |
15 | {% endwith %} 16 |This person has not been annotated, yet.
10 | {% endif %} 11 | {% endfor %} 12 | {% endfor %} 13 | {% else %} 14 |This photo has not been annotated, yet.
15 | {% endif %} 16 | -------------------------------------------------------------------------------- /server/static/less/bootstrap/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @wellBackground; 12 | border: 1px solid darken(@wellBackground, 7%); 13 | .border-radius(@wellBorderRadius); 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-large { 23 | padding: 24px; 24 | .border-radius(@borderRadiusLarge); 25 | } 26 | .well-small { 27 | padding: 9px; 28 | .border-radius(@borderRadiusSmall); 29 | } 30 | -------------------------------------------------------------------------------- /server/templates/modal_loading.html: -------------------------------------------------------------------------------- 1 | {% comment %} 2 | General modal dialog for loading confirmation 3 | Usage: call show_modal_loading("Loading...", 1000) 4 | to show a message after timeout milliseconds 5 | and hide_modal_loading() to cancel/hide 6 | {% endcomment %} 7 | 8 | 18 | -------------------------------------------------------------------------------- /server/static/less/bootstrap/responsive-1200px-min.less: -------------------------------------------------------------------------------- 1 | // 2 | // Responsive: Large desktop and up 3 | // -------------------------------------------------- 4 | 5 | 6 | @media (min-width: 1200px) { 7 | 8 | // Fixed grid 9 | #grid > .core(@gridColumnWidth1200, @gridGutterWidth1200); 10 | 11 | // Fluid grid 12 | #grid > .fluid(@fluidGridColumnWidth1200, @fluidGridGutterWidth1200); 13 | 14 | // Input grid 15 | #grid > .input(@gridColumnWidth1200, @gridGutterWidth1200); 16 | 17 | // Thumbnails 18 | .thumbnails { 19 | margin-left: -@gridGutterWidth1200; 20 | } 21 | .thumbnails > li { 22 | margin-left: @gridGutterWidth1200; 23 | } 24 | .row-fluid .thumbnails { 25 | margin-left: 0; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /server/licenses/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | from common.admin import AutoUserMixin 4 | from licenses.models import License 5 | 6 | 7 | class LicenseAdmin(AutoUserMixin, admin.ModelAdmin): 8 | fieldsets = [ 9 | (None, { 10 | 'fields': ['added', 'name', 'url', 'creative_commons', 11 | 'cc_attribution', 'cc_noncommercial', 12 | 'cc_no_deriv', 'cc_share_alike'] 13 | }), 14 | ] 15 | 16 | # fields 17 | readonly_fields = ['added'] 18 | list_display = ['name', 'url'] 19 | 20 | # field display 21 | list_filter = ['name', 'added'] 22 | search_fields = ['name', 'url'] 23 | 24 | 25 | admin.site.register(License, LicenseAdmin) 26 | -------------------------------------------------------------------------------- /server/mturk/templates/mturk/admin/feedback_entry.html: -------------------------------------------------------------------------------- 1 |SANDBOX
16 | {% endif %} 17 | 18 | {% include "mturk/admin/assignment_entry_info.html" %} 19 |{% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset.{% endblocktrans %}
20 | {% endblock %} 21 | -------------------------------------------------------------------------------- /scripts/install/requirements-packages.txt: -------------------------------------------------------------------------------- 1 | build-essential 2 | cmake 3 | cython 4 | gfortran 5 | git-core 6 | libatlas-base-dev 7 | libatlas-dev 8 | libblas-dev 9 | libboost-dev 10 | libboost-filesystem-dev 11 | libboost-system-dev 12 | libboost-thread-dev 13 | libeigen3-dev 14 | libfftw3-dev 15 | libfreetype6-dev 16 | libjpeg-dev 17 | liblcms 18 | liblcms-dev 19 | liblcms-utils 20 | libmemcached-dev 21 | libpng-dev 22 | libpq-dev 23 | libxml2-dev 24 | libxslt-dev 25 | logrotate 26 | memcached 27 | nginx 28 | nodejs 29 | npm 30 | openssl 31 | postgresql-client 32 | python-dev 33 | python-pil 34 | python-opencv 35 | python-pip 36 | python-setuptools 37 | rabbitmq-server 38 | software-properties-common 39 | supervisor 40 | sudo 41 | swig 42 | vim 43 | zlib1g-dev 44 | -------------------------------------------------------------------------------- /server/accounts/templates/account/signup_closed.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load url from future %} 4 | {% load i18n %} 5 | {% load bootstrap_tags %} 6 | 7 | {% block head_title %}{% trans "Sign up closed" %}{% endblock %} 8 | {% block header %} 9 |{% blocktrans %}The code you provided was not accepted.{% endblocktrans %}
20 | {% else %} 21 |{% blocktrans %}Sign up is closed to the general public.{% endblocktrans %}
22 | {% endif %} 23 | {% endblock %} 24 | -------------------------------------------------------------------------------- /server/templates/entry_li.html: -------------------------------------------------------------------------------- 1 | {% if entry.content %} 2 | {% with entry.content as entry_content %} 3 | {% with entry_content.get_thumb_template as thumb_template %} 4 |Body Part: {{ task.part_name }}
3 |If you delete your account, your personal information will be expunged within {{ ACCOUNT_DELETION_EXPUNGE_HOURS }} hours.
20 | 21 | 25 | 26 | {% endblock %} 27 | -------------------------------------------------------------------------------- /server/static/less/font-awesome/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{FontAwesomePath}/fontawesome-webfont.eot?v=@{FontAwesomeVersion}'); 7 | src: url('@{FontAwesomePath}/fontawesome-webfont.eot?#iefix&v=@{FontAwesomeVersion}') format('embedded-opentype'), 8 | url('@{FontAwesomePath}/fontawesome-webfont.woff?v=@{FontAwesomeVersion}') format('woff'), 9 | url('@{FontAwesomePath}/fontawesome-webfont.ttf?v=@{FontAwesomeVersion}') format('truetype'), 10 | url('@{FontAwesomePath}/fontawesome-webfont.svg#fontawesomeregular?v=@{FontAwesomeVersion}') format('svg'); 11 | // src: url('@{FontAwesomePath}/FontAwesome.otf') format('opentype'); // used when developing fonts 12 | font-weight: normal; 13 | font-style: normal; 14 | } 15 | -------------------------------------------------------------------------------- /server/templates/modal_error.html: -------------------------------------------------------------------------------- 1 | {% comment %} 2 | General modal dialog for error messages 3 | Usage: show_modal_error(message) to show error as modal 4 | hide_modal_error() to hide 5 | {% endcomment %} 6 | 7 | 20 | -------------------------------------------------------------------------------- /server/mturk/management/commands/mtbalance.py: -------------------------------------------------------------------------------- 1 | """ 2 | .. describe:: ./manage.py mtbalance 3 | 4 | Print the current account balance. 5 | 6 | """ 7 | 8 | from django.conf import settings 9 | from django.core.management.base import BaseCommand 10 | 11 | from mturk.utils import get_mturk_connection 12 | 13 | 14 | class Command(BaseCommand): 15 | args = '' # '2 | {% if license %} 3 | License: 4 | {% if license.url %} 5 | {{ license.name }} 6 | {% else %} 7 | {{ license.name }} 8 | {% endif %} 9 | {% else %} 10 | License: Unknown 11 | {% endif %} 12 | 13 | {% if photo.attribution_name %} 14 | {% if photo.attribution_url %} 15 | (Credit: {{ photo.attribution_name }}) 16 | {% else %} 17 | (Credit: {{ photo.attribution_name }}) 18 | {% endif %} 19 | {% elif photo.attribution_url %} 20 | (Credit: {{ photo.attribution_url }}) 21 | {% elif photo.flickr_user.display_name %} 22 | (Credit: {{ photo.flickr_user.display_name }}) 23 | {% endif %} 24 |
25 | -------------------------------------------------------------------------------- /server/mturk/static/js/mturk/admin/example.coffee: -------------------------------------------------------------------------------- 1 | $(document).on('click', '.example-label', -> 2 | $t = $(@) 3 | id = $t.attr('data-id') 4 | good = $t.attr('data-good') 5 | console.log "#{id}: was #{good}" 6 | 7 | $.ajax('/mturk/admin/example/ajax/', 8 | type: 'POST' 9 | data: 10 | id: id 11 | good: if good == "True" then "False" else "True" 12 | success: => 13 | if good == 'True' 14 | $t.attr('data-good', 'False') 15 | $t.find('.label-success').hide() 16 | $t.find('.label-important').show() 17 | else 18 | $t.attr('data-good', 'True') 19 | $t.find('.label-success').show() 20 | $t.find('.label-important').hide() 21 | console.log 'toggle: success' 22 | error: => 23 | window.show_modal_error("Could not contact server") 24 | console.log 'toggle: error' 25 | ) 26 | ) 27 | -------------------------------------------------------------------------------- /server/templates/endless_list.html: -------------------------------------------------------------------------------- 1 | {% extends base_template %} 2 | {% load cache %} 3 | 4 | {% block content %} 5 | {% if header_text %} 6 |{{ header_p_text }}
{% endif %} 9 |{{ header_sub }}
{% endif %} 16 | {% cache 300 count request.get_full_path %} 17 |There are {{ entries.count }} items.
18 | {% endcache %} 19 |You will be shown a collection of images with a segmentation. Click on the 5 | segmentations that align with the central person.
6 | 7 | 13 | 14 |Do select these:
15 |Do not select these:
20 |Success
") 23 | else 24 | window.show_modal_error("Error contacting server (#{data})") 25 | error: -> 26 | window.show_modal_error("Error contacting server") 27 | ) 28 | ) 29 | -------------------------------------------------------------------------------- /server/common/cluster.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def floodfill_cluster(points, compare, min_size=1): 5 | raise NotImplementedError("TODO: test this function") 6 | 7 | N = len(points) 8 | visited = [False] * N 9 | clusters = [] 10 | 11 | for seed_idx in xrange(N): 12 | if visited[seed_idx]: 13 | continue 14 | 15 | visited[seed_idx] = True 16 | seed = points[seed_idx] 17 | stack = [seed] 18 | cluster = [seed] 19 | 20 | while stack: 21 | p = stack.pop() 22 | 23 | for idx in xrange(N): 24 | if visited[idx]: 25 | continue 26 | 27 | q = points[idx] 28 | if compare(p, q): 29 | stack.append(q) 30 | cluster.append(q) 31 | visited[idx] = True 32 | 33 | if len(cluster) >= min_size: 34 | clusters.append(cluster) 35 | 36 | return clusters 37 | -------------------------------------------------------------------------------- /server/accounts/templates/admin_shell.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block header %} 4 |Commands that write to the database are permanent and modify live production data.
16 |There are no safeguards or undo, only revert from the last backup.
17 |Python sessions are separated into "notebooks" which persist on the server. The same notebooks are shared across all admin users.
19 |Password: {{ ADMIN_SHELL_PASSWORD }} (necessary since the shell is a separate process).
Demographics:
")) 13 | t.append($("")) 14 | 15 | if f.thoughts? 16 | t.append($('#{html}
What did you think of the task?
')) 17 | t.append($("")) 18 | 19 | if f.understand? 20 | t.append($('#{f.thoughts}
What parts didn\'t you understand?
')) 21 | t.append($("")) 22 | 23 | if f.other? 24 | t.append($('#{f.understand}
Any other feeedback or suggestions?
')) 25 | t.append($("")) 26 | 27 | t.css('display', '') 28 | ) 29 | 30 | $(document).on('items-added', on_items_added) 31 | $( -> on_items_added()) 32 | -------------------------------------------------------------------------------- /server/mturk/templates/mturk/base_responsive.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block head_title %}MTurk{% if slug %} ({{ slug }}){% endif %}{% endblock %} 3 | 4 | {% block css %}{{ block.super }} 5 | 6 | 7 | {% endblock %} 8 | 9 | {% block navbar %}{% endblock %} 10 | {% block header %}{% endblock %} 11 | {% block footer %}{% endblock %} 12 | {% block subnav %}{% endblock %} 13 | 14 | {% block modals %} 15 | {% include "modal_instructions.html" %} 16 | {% include "modal_loading.html" %} 17 | {% include "modal_error.html" %} 18 | {% include "modal_areyousure.html" %} 19 | {% include "modal_give_up.html" %} 20 | {% include "modal_feedback.html" %} 21 | {% endblock %} 22 | 23 | {% block scripts %} 24 | 33 | {% endblock %} 34 | -------------------------------------------------------------------------------- /server/photos/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | from imagekit.admin import AdminThumbnail 4 | from common.admin import AutoUserMixin 5 | 6 | from photos.models import FlickrUser, PhotoDataset, Photo 7 | 8 | admin.site.register(FlickrUser) 9 | admin.site.register(PhotoDataset) 10 | 11 | class PhotoAdmin(AutoUserMixin, admin.ModelAdmin): 12 | fieldsets = [ 13 | (None, { 14 | 'fields': ['added', 'user', 'image_orig', 'admin_thumb_span6', 'aspect_ratio', 'dataset', 15 | 'description', 'exif', 16 | 'flickr_user', 'flickr_id'] 17 | }), 18 | ] 19 | 20 | # fields 21 | readonly_fields = ['added', 'admin_thumb_span6'] 22 | list_display = ['user', 'admin_thumb_span1', 'dataset', 'added'] 23 | 24 | # field display 25 | list_filter = ['added'] 26 | search_fields = ['user', 'description'] 27 | date_hierarchy = 'added' 28 | 29 | admin_thumb_span6 = AdminThumbnail(image_field='image_200') 30 | admin_thumb_span1 = AdminThumbnail(image_field='image_200') 31 | 32 | inlines = [] 33 | 34 | admin.site.register(Photo, PhotoAdmin) 35 | -------------------------------------------------------------------------------- /server/static/less/bootstrap/scaffolding.less: -------------------------------------------------------------------------------- 1 | // 2 | // Scaffolding 3 | // -------------------------------------------------- 4 | 5 | 6 | // Body reset 7 | // ------------------------- 8 | 9 | body { 10 | margin: 0; 11 | font-family: @baseFontFamily; 12 | font-size: @baseFontSize; 13 | line-height: @baseLineHeight; 14 | color: @textColor; 15 | background-color: @bodyBackground; 16 | } 17 | 18 | 19 | // Links 20 | // ------------------------- 21 | 22 | a { 23 | color: @linkColor; 24 | text-decoration: none; 25 | } 26 | a:hover { 27 | color: @linkColorHover; 28 | text-decoration: underline; 29 | } 30 | 31 | 32 | // Images 33 | // ------------------------- 34 | 35 | // Rounded corners 36 | .img-rounded { 37 | .border-radius(6px); 38 | } 39 | 40 | // Add polaroid-esque trim 41 | .img-polaroid { 42 | padding: 4px; 43 | background-color: #fff; 44 | border: 1px solid #ccc; 45 | border: 1px solid rgba(0,0,0,.2); 46 | .box-shadow(0 1px 3px rgba(0,0,0,.1)); 47 | } 48 | 49 | // Perfect circle 50 | .img-circle { 51 | .border-radius(500px); // crank the border-radius so it works with most reasonably sized images 52 | } 53 | -------------------------------------------------------------------------------- /server/accounts/forms.py: -------------------------------------------------------------------------------- 1 | from django import forms 2 | from captcha.fields import CaptchaField 3 | import account.forms 4 | 5 | 6 | class SignupForm(account.forms.SignupForm): 7 | 8 | captcha = CaptchaField() 9 | 10 | def clean_username(self): 11 | username = self.cleaned_data['username'] 12 | if username.startswith('mturk_'): 13 | raise forms.ValidationError("Usernames that start with 'mturk_'are reserved. Please choose another.") 14 | if username.startswith('mt_'): 15 | raise forms.ValidationError("Usernames that start with 'mt_'are reserved. Please choose another.") 16 | return super(SignupForm, self).clean_username() 17 | 18 | 19 | class LoginUsernameOrEmailForm(account.forms.LoginForm): 20 | 21 | username = forms.CharField(label="Username or Email") 22 | authentication_fail_message = "The username and/or password you specified are not correct." 23 | identifier_field = "username" 24 | 25 | def __init__(self, *args, **kwargs): 26 | super(LoginUsernameOrEmailForm, self).__init__(*args, **kwargs) 27 | self.fields.keyOrder = ["username", "password", "remember"] 28 | -------------------------------------------------------------------------------- /server/mturk/management/commands/mtconsume.py: -------------------------------------------------------------------------------- 1 | """ 2 | .. describe:: ./manage.py mtconsume 3 | 4 | Dispatch all pending content to the marketplace and create new HITs. 5 | 6 | With our MTurk platform, tasks are dispatched in a two-step process. 7 | 8 | First, :class:`mturk.models.PendingContent` objects are created for each 9 | object that might be labeled (e.g. a photo). ``PendingContent`` instances 10 | track the priority of each object, what has been scheduled, and how many 11 | tasks need to be put on MTurk. 12 | 13 | Second, ``mtconsume`` searches for ``PendingContent`` instances that have 14 | not yet been scheduled on MTurk (or that need more responses) and then 15 | creates HITs (stored locally as :class:`models.mturk.MtHit` instances). 16 | """ 17 | 18 | from django.core.management.base import BaseCommand 19 | 20 | 21 | class Command(BaseCommand): 22 | args = '' 23 | help = 'Manually run an instance of consume_pending_objects_task' 24 | 25 | def handle(self, *args, **options): 26 | from mturk.tasks import consume_pending_objects_task 27 | consume_pending_objects_task(show_progress=True) 28 | -------------------------------------------------------------------------------- /server/accounts/templates/account/password_reset_sent.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load url from future %} 4 | {% load i18n %} 5 | {% load account_tags %} 6 | 7 | {% block head_title %}{% trans "Password reset sent" %}{% endblock %} 8 | {% block header %} 9 |#{f.other}
{% blocktrans %}We have sent you an email. If you do not receive it within a few minutes, please try resending.{% endblocktrans %}
20 | 27 | {% else %} 28 |{% blocktrans %}We have resent the password email.{% endblocktrans %}
29 | {% endif %} 30 | {% endblock %} 31 | -------------------------------------------------------------------------------- /server/photos/templates/photos/by_dataset.html: -------------------------------------------------------------------------------- 1 | {% extends "base_sidenav.html" %} 2 | {% load cache %} 3 | 4 | {% block header %} 5 |We are looking for unedited color photographs of various indoor scenes.
14 | 15 |To be more specific, please exclude (do not select) the following:
16 |If you cannot tell, don't select the photo. Please do not guess.
28 | 29 | {% include instructions %} 30 | 31 | {% endblock content %} 32 | -------------------------------------------------------------------------------- /server/common/http.py: -------------------------------------------------------------------------------- 1 | from urlparse import urlparse 2 | import requests 3 | 4 | 5 | def download(url, binary=False, referer=None): 6 | """ Download a URL with a fake User-Agent string """ 7 | 8 | if not url: 9 | print "Warning: empty URL" 10 | return None 11 | 12 | # spoof some headers to make us seem ore like a browser 13 | headers = { 14 | 'Host': urlparse(url).netloc, 15 | 'User-Agent': ( 16 | 'Mozilla/5.0 (X11; Linux x86_64) ' 17 | 'AppleWebKit/537.36 (KHTML, like Gecko) ' 18 | 'Chrome/34.0.1847.14 ' 19 | 'Safari/537.36' 20 | ), 21 | 'DNT': '1', 22 | 'Cache-Control': 'max-age=0', 23 | 'Accept-Language': 'en-US,en;q=0.8', 24 | } 25 | 26 | if referer: 27 | headers['Referer'] = referer 28 | 29 | r = requests.get(url, headers=headers) 30 | if r.status_code == 200: 31 | #print "download success: %s" % url 32 | if binary: 33 | return r.content 34 | else: 35 | return r.text 36 | else: 37 | #print "download fail: (status %s) %s" % (r.status_code, url) 38 | return None 39 | -------------------------------------------------------------------------------- /server/static/500.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |Sorry, there was an internal server error.
21 |Try refreshing the page.
22 || Good | All | |
|---|---|---|
| MTurk Assignments | 11 |{{ num_assignments_good|intcomma }} | 12 |{{ num_assignments_all|intcomma }} | 13 |
| MTurk Users | 18 |{{ num_users_good|intcomma }} | 19 |{{ num_users_all|intcomma }} | 20 |
| Hours of Work | 25 |N/A | 26 |{{ num_hours_all|intcomma }} | 27 |
| Submitted Items | 32 |N/A | 33 |{{ num_submitted_all|intcomma }} | 34 |
These items are displayed as examples in the instructions.
27 |Click on a label to toggle its status.
28 | {% include page_template %} 29 | {% endblock %} 30 | 31 | {% block scripts %}{{ block.super }} 32 | {% include "entry_scripts.html" %} 33 | 34 | {% compress js %} 35 | 36 | {% endcompress %} 37 | {% endblock %} 38 | -------------------------------------------------------------------------------- /server/accounts/templates/account/password_reset.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load url from future %} 4 | {% load i18n %} 5 | {% load bootstrap_tags %} 6 | {% load account_tags %} 7 | 8 | {% block head_title %}{% trans "Password reset" %}{% endblock %} 9 | {% block header %} 10 |