annotorious / annotorious

Add image annotation functionality to any web page with a few lines of JavaScript.

Home Page:http://annotorious.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aerial view of Schönbrunn Palace in Vienna annotated with Annotorious

Annotorious - JavaScript Image Annotation

Add image annotation functionality to any web page with a few lines of JavaScript. Visit the project website for documentation and live demos.

npm install @annotorious/annotorious

Quick Start

import { createImageAnnotator } from '@annotorious/annotorious';

import '@annotorious/annotorious/annotorious.css';

const anno = createImageAnnotator('image-to-annotate');

// Load annotations from a file
anno.loadAnnotations('./annotations.json');

// Listen to user events
anno.on('createAnnotation', function(annotation) {
  console.log('new annotation', annotation);
});

License

BSD 3-Clause (= feel free to use this code in whatever way you wish. But keep the attribution/license file, and if this code breaks something, don't complain to me :-)

Community

Visit the Discussion Forum for community support, or file an issue on the Issue Tracker.

Become a Sponsor

Using Annotorious at work? Become a sponsor! Your support helps me cover hosting costs, spend more time supporting the community, and make Annotorious better for everyone. Make a one-time or monthly donation via my SteadyHQ account.

Older Versions

Documentation for Annotorious version 2.7 is available here.

About

Add image annotation functionality to any web page with a few lines of JavaScript.

http://annotorious.dev

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 79.5%Language:Svelte 15.4%Language:HTML 2.6%Language:JavaScript 1.7%Language:CSS 0.8%