Skip to content

PawsitionPatrol is a program that tracks and records the position of an animal over time, allowing users to define zones of interest and analyze the animal's movement within those zones.

Notifications You must be signed in to change notification settings

KurtMoran/PawsitionPatrol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PawsitionPatrol

Video Overview

PawPat

PawsitionPatrol is a program that lets you track and monitor the movement of a single animal over time, for lab studies where the animal you're interested in is the only thing moving in the video. It's a tool for researchers to observe and analyze animal behavior in controlled environments.

Features

  • Video analysis: The program analyzes video footage to detect and record the position of animals in each frame.
  • Zone definition: Users can define specific zones within the video where the animal's movement is of interest.
  • Interactive playback: PawsitionPatrol offers a user-friendly interface to display video playback, with real-time visualization of animal positions and zone labels.
  • Data recording: The program records the animal's position, associated time, and the zone it belongs to in a CSV file for further analysis.
  • Zone statistics: PawsitionPatrol calculates the time spent by the animal in each defined zone, providing insights into zone preferences.
  • Plot visualization: The program generates a plot that visualizes the recorded animal positions over time.
  • Animal agnostic: PawsitionPatrol can be used to track the movement of various animals, making it flexible for different research or monitoring applications.

Installation

To use PawsitionPatrol, you need to install the required Python modules. Follow the steps below to set up the necessary dependencies:

  1. Make sure you have Python installed on your system. If not, you can download it from the official Python website: Python.org.
  2. Clone this repository to your local machine or download the source code as a ZIP file.
  3. Open a terminal or command prompt and navigate to the project directory.
  4. Run the following command to install the required modules: pip install -r requirements.txt

Usage

  1. Install the required dependencies
  2. Prepare your video file and ensure it is in a supported format.
  3. Customize the program settings, such as video path and zone parameters, in the provided code.
  4. Run the program
  5. Follow the instructions to define zones by clicking and dragging on the video frame.

Please refer to the comments within the code for detailed explanations and further customization options.

Examples

To provide a better understanding of how PawsitionPatrol can be used, check out the following examples:

  1. Example 1: Tracking rodent behavior in a laboratory setting.

Contributing

Contributions to PawsitionPatrol are welcome! If you encounter any issues, have suggestions for improvements, or would like to add new features, feel free to open an issue or submit a pull request.

Acknowledgments

We would like to acknowledge the contributions of the open-source community and the libraries utilized in this project.

Contact

For questions, feedback, or collaborations, please comment.

About

PawsitionPatrol is a program that tracks and records the position of an animal over time, allowing users to define zones of interest and analyze the animal's movement within those zones.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages