Skip to main content

A GUI tool for annotating action in video files.

Project description

Animal Behavior Annotation Tool(labelaction)

This is a GUI-based tool for annotating animal behavior in video files. Built using Python and PyQt5, this application allows users to load a video, navigate through frames, and label different behaviors for multiple subjects (referred to as "pigeons" in this tool).

Features

  • Simultaneous annotation of behaviors and postures: Users can annotate both behaviors (e.g. feeding, drinking, etc.) and postures (e.g. standing, lying down, etc.) of pigeons during video playback, and each annotation can be done independently.

  • Timeline visualization: The program provides a visual timeline for each pigeon to show the behavior and posture annotations for quick viewing and editing.

  • Video frame navigation: the user can use buttons or shortcut keys (such as 'D' and 'S') to quickly advance or rewind video frames for easy and precise labeling.

  • Color coding: Different behaviors and gestures are identified using different colors, making annotation more intuitive and allowing users to quickly identify information by color.

  • Export function: Users can export annotation data to CSV file, supporting two formats: original annotation and sorted annotation data, which is convenient for subsequent data analysis and processing.

  • Multi-pigeon support: the program allows independent annotation of multiple pigeons for complex experimental scenarios.

Prerequisites

  • Python (>= 3.6)

  • Libraries: The following libraries are required:

    • PyQt5

    • OpenCV

    • pandas

License

This tool is licensed under the MIT License. Feel free to modify and use it as needed.

Acknowledgments

Update log

'1.1.1' Modify the behavior list and posture list

'1.1.1' fix some bugs, add posture "Tail up" and the posture "lying down" was changed to "Squatting"

'1.1.0'

  • Supports simultaneous annotation of actions and gestures in videos.

  • Export similar to mot format, export each frame's information to csv file, replace no behavior or gesture with -1

  • Optimize GUI interface and functional details to improve user usability

'1.0.2' automatically install dependent packages

'1.0.1' fix some bugs

'1.0.0' first release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labelaction-1.1.2.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file labelaction-1.1.2.tar.gz.

File metadata

  • Download URL: labelaction-1.1.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for labelaction-1.1.2.tar.gz
Algorithm Hash digest
SHA256 68c872dbd79b1b72d863f3318dd15e5a2129cf3257eabfdaf0ccc5a2e009bf9c
MD5 bad53ce0ace746b1358c10fc41d14051
BLAKE2b-256 034dd8bea21fc5b15010a6c1d1a9c4397e7b267eb6442bda011115e673f6f217

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page