annotator A.ipynb (2324B)
1 { 2 "cells": [ 3 { 4 "cell_type": "code", 5 "execution_count": 1, 6 "id": "laughing-being", 7 "metadata": {}, 8 "outputs": [ 9 { 10 "data": { 11 "application/vnd.jupyter.widget-view+json": { 12 "model_id": "d350896381334b159aa781dc8f2cc28a", 13 "version_major": 2, 14 "version_minor": 0 15 }, 16 "text/plain": [ 17 "HTML(value='\\n <p><strong>This notebook is for annotator A!</strong></p>\\n <p><strong>In…" 18 ] 19 }, 20 "metadata": {}, 21 "output_type": "display_data" 22 } 23 ], 24 "source": [ 25 "import annotations.annotator\n", 26 "annotator = annotations.annotator.Annotator(\"A\", \"/images\")\n", 27 "annotator.instructions()" 28 ] 29 }, 30 { 31 "cell_type": "code", 32 "execution_count": 2, 33 "id": "proper-campus", 34 "metadata": {}, 35 "outputs": [], 36 "source": [ 37 "# No need to run this multiple times, it calls itself back once you select the answer\n", 38 "annotator.ask_next()" 39 ] 40 }, 41 { 42 "cell_type": "code", 43 "execution_count": null, 44 "id": "a99955f5", 45 "metadata": {}, 46 "outputs": [], 47 "source": [] 48 } 49 ], 50 "metadata": { 51 "hide_input": false, 52 "kernelspec": { 53 "display_name": "Python 3 (ipykernel)", 54 "language": "python", 55 "name": "python3" 56 }, 57 "language_info": { 58 "codemirror_mode": { 59 "name": "ipython", 60 "version": 3 61 }, 62 "file_extension": ".py", 63 "mimetype": "text/x-python", 64 "name": "python", 65 "nbconvert_exporter": "python", 66 "pygments_lexer": "ipython3", 67 "version": "3.9.2" 68 }, 69 "latex_envs": { 70 "LaTeX_envs_menu_present": true, 71 "autoclose": false, 72 "autocomplete": true, 73 "bibliofile": "biblio.bib", 74 "cite_by": "apalike", 75 "current_citInitial": 1, 76 "eqLabelWithNumbers": true, 77 "eqNumInitial": 1, 78 "hotkeys": { 79 "equation": "Ctrl-E", 80 "itemize": "Ctrl-I" 81 }, 82 "labels_anchors": false, 83 "latex_user_defs": false, 84 "report_style_numbering": false, 85 "user_envs_cfg": false 86 }, 87 "toc": { 88 "base_numbering": 1, 89 "nav_menu": {}, 90 "number_sections": true, 91 "sideBar": true, 92 "skip_h1_title": false, 93 "title_cell": "Table of Contents", 94 "title_sidebar": "Contents", 95 "toc_cell": false, 96 "toc_position": {}, 97 "toc_section_display": true, 98 "toc_window_display": false 99 } 100 }, 101 "nbformat": 4, 102 "nbformat_minor": 5 103 }