Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jhkcia/annotorious-tilted-box

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jhkcia/annotorious-tilted-box

The Tilted Box selection tool from Recogito - now for Annotorious

  • 0.3.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Annotorious Tilted Box Plugin

This plugin for Annotorious adds a new selection tool: the Tilted Box.

Example screen capture

The Tilted Box allows you to quickly draw a rectangle in an arbitrary rotation. This can be especially useful for selecting text that appears in photographs or digitized map images.

!!! BETA !!! the current version support creating annotations only. You can not (yet) edit existing shapes.

Install

Include the plugin directly via the CDN:

<!-- Annotorious -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/annotorious@latest/dist/annotorious.min.css">
<script src="https://cdn.jsdelivr.net/npm/@recogito/annotorious@latest/dist/annotorious.min.js"></script>

<!-- Tilted box plugin -->
<script src="https://cdn.jsdelivr.net/npm/@recogito/annotorious-tilted-box@latest/dist/annotorious-tilted-box.min.js"></script>

Or if you are using npm:

$ npm install @recogito/annotorious-tilted-box

Instantiate Annotorious the normal way, and then register the plugin:

var anno = Annotorious.init({
  image: 'my-image'
});

// Init the plugin
Annotorious.TiltedBox(anno);

// Annotorious now has an additional drawing 
// tool - set it as the active tool
anno.setDrawingTool('annotorious-tilted-box');

Questions? Feedack? Feature requests? Join the Annotorious chat on Gitter.

Join the chat at https://gitter.im/recogito/annotorious

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 us :-)

FAQs

Package last updated on 03 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc