Skip to main content

Add your description here

Project description

FlowDetect

FlowDetect is a program for your command line that looks at motion in video files. It tracks movement and finds moments with high action. This tool uses Python and provides a simple way to use it.

Description

This program offers two main ways to processs video.

Track Specific Points

This method finds and tracks specific strong points, such as corners, across video frames. It is very useful for making shaky videos smoother or keeping a moving subject in the center.

Detect High Action Moments

This method calculates the movement of every single pixel in the video frame. It requires more computer power but allows the system to find big energy changes, such as a crowd cheering or sudden fast movement.

Installation

You can install this software package using a Python installer like uv or pip.

Using uv:

uv tool install flowdetect

Using pip:

pip install flowdetect

Usage

After you install the software, you can run the program from your terminal using the flowdetect command.

To view the main help page and see available commands, run:

flowdetect --help

Track Specific Points

Use the track-sparse command to follow clear features in your video.

flowdetect track-sparse my_video.mp4

You can change the behavior of the tracking process by providing extra settings. If you do not provide these settings, the tool will use default values.

Checklist of available settings for tracking points:

  • --max-corners: Maximum number of corners to track (Default is 100).

  • --quality-level: Lowest accepted quality of image corners (Default is 0.3).

  • --min-distance: Minimum possible space between returned corners (Default is 7).

  • --block-size: Size of the block for calculating the values (Default is 7).

  • --win-size: Size of the search window (Default is 15).

  • --max-level: Maximum image scaling level (Default is 2).

Detect High Action Moments

Use the detect-dense command to scan the video for moments of high overall movement. The application will print a timestamp whenever the average motion goes above your set limit.

flowdetect detect-dense my_video.mp4

Checklist of available settings for overall motion detection:

  • --threshold or -t: The motion limit required to log a highlight. Lower numbers are more sensitive to movement (Default is 5.0).

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

flowdetect-0.2.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowdetect-0.2.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file flowdetect-0.2.1.tar.gz.

File metadata

  • Download URL: flowdetect-0.2.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for flowdetect-0.2.1.tar.gz
Algorithm Hash digest
SHA256 380a3c059dda3e9733684163394b15a66ae2d2ccc47e23202bf07665beb180c7
MD5 daf11ac1ca2f936765a28717199e1daa
BLAKE2b-256 159d1fce2787abc6f9a8400327522f814b4836f3521dd99a85c472941f124184

See more details on using hashes here.

File details

Details for the file flowdetect-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: flowdetect-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for flowdetect-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d36e63dadc51d3cd3363fc6764a7ba8482102851088e983076c17f21adf8c423
MD5 297042806af27ca4b9334eb562583108
BLAKE2b-256 6634ac6ef98c5e5f65f1d7c2639a0ce0689572a5e328e10f59b351df2837f811

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