{"id":19952373,"url":"https://github.com/diewland/annotorious-color-marker-plugin","last_synced_at":"2025-05-03T19:30:46.223Z","repository":{"id":92172867,"uuid":"106398635","full_name":"diewland/annotorious-color-marker-plugin","owner":"diewland","description":"Draw annotorious in color","archived":false,"fork":false,"pushed_at":"2017-10-15T05:37:22.000Z","size":125,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T20:21:21.681Z","etag":null,"topics":["annotations","annotorious"],"latest_commit_sha":null,"homepage":"https://diewland.github.io/annotorious-color-marker-plugin/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diewland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-10T09:47:08.000Z","updated_at":"2021-09-22T09:42:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"821abfa4-49c1-4faa-8d41-60172312b33e","html_url":"https://github.com/diewland/annotorious-color-marker-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fannotorious-color-marker-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fannotorious-color-marker-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fannotorious-color-marker-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fannotorious-color-marker-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diewland","download_url":"https://codeload.github.com/diewland/annotorious-color-marker-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252241927,"owners_count":21717069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["annotations","annotorious"],"created_at":"2024-11-13T01:12:50.853Z","updated_at":"2025-05-03T19:30:46.204Z","avatar_url":"https://github.com/diewland.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# annotorious-color-marker-plugin\nDraw annotorious in color\n\n### Demo\n\n* https://diewland.github.io/annotorious-color-marker-plugin/\n\n### Usage\n\n```js\nanno.addPlugin('ColorPlugin', {\n  img_id: 'myImage',                        // image id   [require]\n  color_list: [                             // color list [require]\n    { label: 'positive', color: 'lime' },\n    { label: 'negative', color: 'red' },\n    { label: 'not-sure', color: 'blue' },\n  ],\n  controller: true,                         // show color panel (optional)\n});\n\n// draw color annotations\nanno.addColorAnnotation('red', {\n  src : document.querySelector('#myImage').src,\n  text: 'Test red color',\n  shapes : [{\n    type : 'rect',\n    units: 'pixel',\n    geometry : { x : 100, y: 100, width : 100, height: 100 }\n  }]\n});\n\n// print annotations group by color\nconsole.log(anno.getColorAnnotations());\n```\n\n### References\n* https://github.com/annotorious/annotorious\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiewland%2Fannotorious-color-marker-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiewland%2Fannotorious-color-marker-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiewland%2Fannotorious-color-marker-plugin/lists"}