An open API service indexing awesome lists of open source software.

https://github.com/francoiscarouge/gstkalman

GStreamer Kalman Filter Video Plugin
https://github.com/francoiscarouge/gstkalman

cpp cpp23 gstreamer gstreamer-plugins kalman kalman-filter kalman-filtering library multimedia

Last synced: 3 months ago
JSON representation

GStreamer Kalman Filter Video Plugin

Awesome Lists containing this project

README

          

# A GStreamer Kalman Filter Video Plugin

GStreamer is a pipeline-based multimedia framework that links together a wide variety of media processing systems to complete complex workflows. The Kalman filter is a Bayesian filter that uses multivariate Gaussians.

This library applies a single precision, no input, constant system dynamic model Kalman filter to the pixels of the frames of a raw video stream with computation performed on CPU with an opportunity for diverse execution parallelisms.

The GStreamer inspected plugin information:
```
Plugin Details:
Name kalman
Description A video Kalman filter plugin.
Filename build/source/libgstkalman.so
Version 0.1.0
License Unlicense
Source module kalman
Binary package kalman
Origin URL https://github.com/FrancoisCarouge/GstKalman

kalman: Kalman Filter

1 features:
+-- 1 elements
```

The GStreamer inspected sole element information:
```
Factory Details:
Rank none (0)
Long-name Kalman Filter
Klass Filter/Effect/Video
Description A video Kalman filter plugin.
Author Francois Carouge

Plugin Details:
Name kalman
Description A video Kalman filter plugin.
Filename /mnt/f/Drive/Projects/cpp/gstkalman/build/source/libgstkalman.so
Version 0.1.0
License Unlicense
Source module kalman
Binary package kalman
Origin URL https://github.com/FrancoisCarouge/GstKalman

GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseTransform
+----GstKalman

Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-raw

SRC template: 'src'
Availability: Always
Capabilities:
video/x-raw

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
SINK: 'sink'
Pad Template: 'sink'
SRC: 'src'
Pad Template: 'src'

Element Properties:
name : The name of the object
flags: readable, writable, 0x2000
String. Default: "kalman0"
p : Initialize estimate uncertainty.
flags: readable, writable
Float. Range: 0 - 3.402823e+38 Default: 0
parent : The parent of the object
flags: readable, writable, 0x2000
Object of type "GstObject"
qos : Handle Quality-of-Service events
flags: readable, writable
Boolean. Default: false
r : Initialize output uncertainty.
flags: readable, writable
Float. Range: 0 - 3.402823e+38 Default: 0
```

- [A GStreamer Kalman Filter Video Plugin](#a-gstreamer-kalman-filter-video-plugin-in-c)
- [Examples](#examples)
- [Installation](#installation)
- [Resources](#resources)
- [Third Party Acknowledgement](#third-party-acknowledgement)
- [Sponsors](#sponsors)
- [Corporations \& Institutions](#corporations--institutions)
- [Individuals](#individuals)
- [License](#license)

# Examples

```shell
gst-launch-1.0 uridecodebin uri="file:///path/to/roundhay_garden.mp4" ! videoconvert ! kalman p=100 r=100 ! autovideosink
```

# Installation

```shell
git clone --depth 1 "https://github.com/FrancoisCarouge/gstkalman"
cmake -S "gstkalman" -B "build"
cmake --build "build" --parallel
sudo cmake --install "build"
```

[For more, see installation instructions](INSTALL.md).

# Resources

## Third Party Acknowledgement

The library is designed, developed, and tested with the help of third-party tools and services acknowledged and thanked here:

- [actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) to upload the documentation to GitHub pages.
- [Clang](https://clang.llvm.org) for compilation and code sanitizers.
- [CMake](https://cmake.org) for build automation.
- [cmakelang](https://pypi.org/project/cmakelang) for pretty CMake list files.
- [Coveralls](https://coveralls.io) to measure [code coverage](https://coveralls.io/github/FrancoisCarouge/Kalman).
- [cppcheck](https://cppcheck.sourceforge.io) for static analysis.
- [Doxygen](https://doxygen.nl) for documentation generation.
- [Doxygen Awesome](https://github.com/jothepro/doxygen-awesome-css) for pretty documentation.
- [GCC](https://gcc.gnu.org) for compilation and code sanitizers.
- [lcov](http://ltp.sourceforge.net/coverage/lcov.php) to process coverage information.
- [MSVC](https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist) for compilation and code sanitizers.
- [Valgrind](https://valgrind.org) to check for correct memory management.

## Sponsors

Become a sponsor today! Support this project with coffee and infrastructure!

[![Sponsor](https://img.shields.io/badge/Support-Sponsor-brightgreen)](http://paypal.me/francoiscarouge)

### Corporations & Institutions

*Your group logo and link here!*

### Individuals

*Your name and link here!*

Thanks everyone!

# License

GStreamer Kalman Filter Video Plugin is public domain:

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to