Home

adjust_event.js

browser.js

This file contains functions for detecting and interacting with the different browser types.
Source:

bubble.js

This file contains functions that draw the popup bubble during labeling or editing an object.
Source:

canvas.js

Generic rendering canvas. At a high-level, there are 4 canvases that are laid out. They correspond to the: (i) main canvas, (ii) drawing canvas, (iii) query canvas, (iv) polygon selection canvas. At any moment, one canvas is at the front and accepts mouse functions. The other canvases are hidden below and do not accept mouse functions. All canvases are transparent, meaning that their contents are always visible. The task of the tool is to switch between these canvases and to refresh their contents.
Source:

draw_event.js

This file contains the scripts for when the draw event is activated.
Source:

edit_event.js

This file contains the scripts for when the edit event is activated.
Source:

file_info.js

Contains the file_info class, which parses the URL and sets global variables based on the URL.
Source:

globals.js

handler.js

This contains the high-level commands for transitioning between the different annotation tool states. They are: REST, DRAW, SELECTED, QUERY.
Source:

image.js

File containing the image class. Fetches and manipulates the main image that will be annotated. From the HTML code, create a tag with an id and pass this id in as the argument when creating the class.
Source:

io.js

Input/output functions for writing annotation files to the LabelMe server.
Source:

sign_in.js

Sign in form for a user to enter their LabelMe username.
Source:

startup.js

This file contains the scripts used when LabelMe starts up.
Source:

xml_accessors.js