VideoDataAnimation


NameVideoDataAnimation JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/mariobendra/VideoDataAnimation.git
SummaryA library for creating side-by-side video and data visualizations.
upload_time2024-02-22 22:34:57
maintainer
docs_urlNone
authorMario Bendra & Patrick Bendra
requires_python
license
keywords video data animation matplotlib opencv
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # VideoDataAnimation

VideoDataAnimation is a Python library designed for creating synchronized visualizations of video data and corresponding time-series data. It allows users to visualize changes in data alongside video frames, making it ideal for applications in research, data analysis, and educational purposes where visual context is crucial.

## Features

- **Synchronized Visualization**: Seamlessly integrate video playback with real-time data plots, ensuring synchronized visualizations that enhance understanding and analysis.
- **Interactive Plotting**: Utilize interactive plotting features to zoom, pan, or hover over data points for detailed inspection, providing a deeper analysis of the data alongside video content.
- **Flexible Data Integration**: Easily integrate various data sources by supporting multiple data formats, including CSV, Excel, and direct data frames, facilitating hassle-free data visualization.
- **Region of Interest Cropping**: Focus on specific areas within your videos by defining regions of interest, allowing for detailed analysis of targeted video segments.
- **Customizable Visual Styles**: Personalize your visualizations with customizable plot styles, including color schemes, line styles, and marker options, to match your presentation or branding requirements.
- **Dynamic Windowing**: Adjust the data viewing window dynamically, either by specifying a fixed number of data points or by setting a time window, to focus on specific segments of your data over time.
- **Annotation and Labeling**: Enhance your visualizations with annotations and labels, providing context and insights directly on your plots and video frames, making complex data more accessible.
- **Multiple Export Formats**: Export your synchronized video and data visualizations to a variety of formats such as MP4, AVI, GIF, or even as interactive HTML files, ensuring compatibility across different platforms and devices.
- **Batch Processing Support**: Automate the processing of multiple video and data pairs with batch processing capabilities, saving time and ensuring consistency across large datasets.
- **Extensive Documentation and Examples**: Get up and running quickly with comprehensive documentation, including detailed setup instructions, usage examples, and troubleshooting tips.
- **Community and Support**: Join an active community of users and contributors for support, to share ideas, and to collaborate on new features, making VideoDataAnimation not just a tool but a growing ecosystem.


## Installation

To install VideoDataAnimation, simply use pip:

pip install VideoDataAnimation

## Quick Start

    from VideoDataAnimation import VideoDataAnimation

**Initialize the VideoDataAnimation with your video and CSV file paths**··
    
    vda = VideoDataAnimation(
    csv_path='./comp_APP.csv',
    video_path='./comp_APP.avi',
    labels=['$m_{x}$', '$m_{y}$', '$m_{z}$'],
    crop_region=(145, 300, 1000, 400),
    window_size=None)

**Load the data, set up video capture, and prepare the plot**
    
    vda.load_data()
    vda.setup_video_capture()
    vda.setup_plot()

**Save the animation to an MP4 file, adjusting the playback speed with the slow_factor**··

    vda.save_animation('mp4', slow_factor=2)

**Release resources after saving the animation**··

    vda.release_resources()

For questions or support, please contact m.bendra22@gmail.com

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mariobendra/VideoDataAnimation.git",
    "name": "VideoDataAnimation",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "video data animation matplotlib opencv",
    "author": "Mario Bendra & Patrick Bendra",
    "author_email": "m.bendra22@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3b/ad/3dd67699da5a31f54ba636fbbcd85ccc9689cbc05c1afd0307c2f483e57f/VideoDataAnimation-0.3.2.tar.gz",
    "platform": null,
    "description": "# VideoDataAnimation\n\nVideoDataAnimation is a Python library designed for creating synchronized visualizations of video data and corresponding time-series data. It allows users to visualize changes in data alongside video frames, making it ideal for applications in research, data analysis, and educational purposes where visual context is crucial.\n\n## Features\n\n- **Synchronized Visualization**: Seamlessly integrate video playback with real-time data plots, ensuring synchronized visualizations that enhance understanding and analysis.\n- **Interactive Plotting**: Utilize interactive plotting features to zoom, pan, or hover over data points for detailed inspection, providing a deeper analysis of the data alongside video content.\n- **Flexible Data Integration**: Easily integrate various data sources by supporting multiple data formats, including CSV, Excel, and direct data frames, facilitating hassle-free data visualization.\n- **Region of Interest Cropping**: Focus on specific areas within your videos by defining regions of interest, allowing for detailed analysis of targeted video segments.\n- **Customizable Visual Styles**: Personalize your visualizations with customizable plot styles, including color schemes, line styles, and marker options, to match your presentation or branding requirements.\n- **Dynamic Windowing**: Adjust the data viewing window dynamically, either by specifying a fixed number of data points or by setting a time window, to focus on specific segments of your data over time.\n- **Annotation and Labeling**: Enhance your visualizations with annotations and labels, providing context and insights directly on your plots and video frames, making complex data more accessible.\n- **Multiple Export Formats**: Export your synchronized video and data visualizations to a variety of formats such as MP4, AVI, GIF, or even as interactive HTML files, ensuring compatibility across different platforms and devices.\n- **Batch Processing Support**: Automate the processing of multiple video and data pairs with batch processing capabilities, saving time and ensuring consistency across large datasets.\n- **Extensive Documentation and Examples**: Get up and running quickly with comprehensive documentation, including detailed setup instructions, usage examples, and troubleshooting tips.\n- **Community and Support**: Join an active community of users and contributors for support, to share ideas, and to collaborate on new features, making VideoDataAnimation not just a tool but a growing ecosystem.\n\n\n## Installation\n\nTo install VideoDataAnimation, simply use pip:\n\npip install VideoDataAnimation\n\n## Quick Start\n\n    from VideoDataAnimation import VideoDataAnimation\n\n**Initialize the VideoDataAnimation with your video and CSV file paths**\u00b7\u00b7\n    \n    vda = VideoDataAnimation(\n    csv_path='./comp_APP.csv',\n    video_path='./comp_APP.avi',\n    labels=['$m_{x}$', '$m_{y}$', '$m_{z}$'],\n    crop_region=(145, 300, 1000, 400),\n    window_size=None)\n\n**Load the data, set up video capture, and prepare the plot**\n    \n    vda.load_data()\n    vda.setup_video_capture()\n    vda.setup_plot()\n\n**Save the animation to an MP4 file, adjusting the playback speed with the slow_factor**\u00b7\u00b7\n\n    vda.save_animation('mp4', slow_factor=2)\n\n**Release resources after saving the animation**\u00b7\u00b7\n\n    vda.release_resources()\n\nFor questions or support, please contact m.bendra22@gmail.com\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A library for creating side-by-side video and data visualizations.",
    "version": "0.3.2",
    "project_urls": {
        "Homepage": "https://github.com/mariobendra/VideoDataAnimation.git"
    },
    "split_keywords": [
        "video",
        "data",
        "animation",
        "matplotlib",
        "opencv"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "95ab88c003d3d05cadfbc18c7696fe4ead0484eb4a36024dac3c7a67352bb0df",
                "md5": "01559fe1ec6af7938614feb498525b17",
                "sha256": "2ee66a221198816fe342a09c402b4bd52bf0a040e6c8e9731748a41ae70b40d4"
            },
            "downloads": -1,
            "filename": "VideoDataAnimation-0.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "01559fe1ec6af7938614feb498525b17",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 15054,
            "upload_time": "2024-02-22T22:34:55",
            "upload_time_iso_8601": "2024-02-22T22:34:55.350288Z",
            "url": "https://files.pythonhosted.org/packages/95/ab/88c003d3d05cadfbc18c7696fe4ead0484eb4a36024dac3c7a67352bb0df/VideoDataAnimation-0.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3bad3dd67699da5a31f54ba636fbbcd85ccc9689cbc05c1afd0307c2f483e57f",
                "md5": "faf533daf6cac51460d051a86c1e20f3",
                "sha256": "09d427cf7703edc9e38b110135791e06df4c15a2b5803fc1e12fd40be7d7d0e1"
            },
            "downloads": -1,
            "filename": "VideoDataAnimation-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "faf533daf6cac51460d051a86c1e20f3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 15002,
            "upload_time": "2024-02-22T22:34:57",
            "upload_time_iso_8601": "2024-02-22T22:34:57.386577Z",
            "url": "https://files.pythonhosted.org/packages/3b/ad/3dd67699da5a31f54ba636fbbcd85ccc9689cbc05c1afd0307c2f483e57f/VideoDataAnimation-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-22 22:34:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mariobendra",
    "github_project": "VideoDataAnimation",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "videodataanimation"
}
        
Elapsed time: 0.17910s