Rectangular region shape Circular region shape Elliptical region shape Polygon region shape Point region shape Polyline region shape n x

Bodyparts editor


Lines


Bodyparts

Region Annotations File Annotations × +
Previous Next Switch to Image Grid View Zoom In Zoom Out Select All Regions Copy Regions Paste Regions Paste Region in Multiple Images Undo Regions Pasted in Multiple Images Delete Region Next instance Previous instance Add instance Remove instance
Sorry, your browser does not support HTML5 Canvas functionality which is required for this application.
Group by 
Selected 0 of 0 images in current group, show

Settings

Project Name
Region Label Font
Font size and font family for showing region labels.
Preload Buffer Size
Images are preloaded in buffer to allow smoother navigation of next/prev images. A large buffer size may slow down the overall browser performance. To disable preloading, set buffer size to 0.

File Not Found

Filename:

We recommend that you update the default path in project settings to the folder which contains this image.

A temporary fix is to use browser's file selector to manually locate and add this file. We do not recommend this approach because it requires you to repeat this process every time your load this project in the VIA application.

  • To start annotation, import your dataset by navigating "Import" menu above.
  • Navigate to Project > Edit bodyparts to define your bodyparts, if starting from a dataset without annotations.
  • Remember to export your annotation when finished!
  • For help, see the Getting Started page and our more comprehensive documentation page.

Importing annotations

from DeepLabCut

To import a DeepLabCut dataset, follow the steps below. Note that you can only label one folder at a time.

  1. In the menu, click on: Import > Load DeepLabCut dataset
  2. Navigate to your DeepLabCut project
  3. Go within the labeled-data
  4. Select a folder and click “Upload”

If there are no labels yet, you may need to specify bodyparts (below). Note: Due to limitations on h5 libraries in javascript, just the h5 (not images) is sent to server to convert it to a csv to parse.

from Lightning Pose

To import a Lightning Pose dataset, follow the steps below.

  1. In the menu, click on: Import > Load Lightning Pose dataset
  2. Navigate to your folder which contains “CollectedData.csv”
  3. Select that folder and click “Upload”

from SLEAP

To import a SLEAP dataset, follow these steps:

  1. In the menu, click on: Import > Load SLEAP dataset (SLP file)
  2. Select your slp file and select “Upload”

Note that SLP file must have the images padded with zeros to account for the javascript h5 loading library. This is already in the latest SLEAP code and will be available in future SLEAP releases. For now, you can use this python script to pad your video items.

Specifying bodyparts

To add or edit the bodyparts for labeling, follow the steps below.

  1. In the menu, click on: Project > Edit bodyparts
  2. You will enter the Bodyparts editor, where you can add or remove bodyparts
  3. You can drag bodyparts around to change the order for labeling

If you have some annotations within your files already, the bodyparts will automatically be populated.

Labeling images

annotating images

Place keypoints by clicking in the image. The keypoints will be placed following the order of bodyparts. (See above for how to edit the bodyparts.)

You can move a keypoint by clicking it and dragging it. You can delete a keypoint by selecting it and either pressing “d” or clicking the X icon in the toolbar.

To navigate across images, you can use the left/right arrow keys, clicking in the file menu, or click the left/right arrows in the toolbar.

labeling multiple animals

Anivia supports labeling multiple animals, but only if you export to a SLEAP file currently.

The interface focuses on one animal “instance” at a time. By default when you click to place points it places them in instance 0.

Here is how you navigate the instance interface: - “i” for new instance (or circle plus in toolbar) - “u” to delete an instance (or circle minus in toolbar) - up and down arrows to switch between instances (or circle up and down in toolbar, or just click on a point from that instance)

Exporting annotations

to DeepLabCut

To export your annotations to DeepLabCut, follow these steps:

  1. In the menu, click on: Export > Export Annotations (DeepLabCut format)
  2. Save your file as “CollectedData_SCORER.h5” within the folder within labeled-data that you imported Replace SCORER above with the actual scorer name you specified at the top of your DeepLabCut config.yaml

Note: Similarly to importing, due to limitations on h5 libraries in javascript, the labels are sent to server to convert them to generate an h5 file. Again, no images are ever sent out of your machine.

to Lightning Pose

To export your annotations to Lightning Pose, follow these steps:

  1. In the menu, click on: Export > Export Annotations (Lightning Pose format)
  2. Save your file as “CollectedData.csv” within the folder you imported

to SLEAP

To export your annotations to Lightning Pose, follow these steps:

  1. In the menu, click on: Export > Export Annotations (SLP format)
  2. Save your slp file wherever.

It might take a bit of time (less than a minute) to generate the SLP file for export.

Loading ...

Version anivia-2.1

Anivia is a tool to support annotation of animal bodyparts in a web interface. The images are loaded in your browser locally.

It is a streamlined version of VGG VIA, intended specifically for animal annotation.

 

(Anivia changes) Copyright © 2023-2024, Lili Karashchuk, Allen Instite for Neural Dynamics, and Anivia Contributors.

(VGG VIA) Copyright © 2016-2021, Abhishek Dutta,Visual Geometry Group, Oxford University and VIA Contributors.

Copyright (c) 2023-2024, Lili Karashchuk, Allen Institute for Neural Dynamics, and Anivia Contributors.
Copyright (c) 2016-2022, Abhishek Dutta, Visual Geometry Group, Oxford University and VIA Contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.