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.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.1' fix some bugs

'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.0.tar.gz (7.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for labelaction-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1566db8cb40455741ea3fd44051fd2813a55cad37f6c6d711bf22e78ca3b7721
MD5 8fd21230dda99dbed91a5f16f1006ecc
BLAKE2b-256 a6d0ee0522833fa0725c31e954caad3a5c993d5b4d9ed95d299f341a649a0444

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