actfw's additional components using GStreamer
Project description
actfw-gstreamer
actfw's components using GStreamer for implementation. actfw is a framework for Actcast Application written in Python.
Installation
sudo apt-get update
sudo apt-get install -y python3-pip python3-pil
sudo apt-get install libgstreamer1.0-dev libgirepository1.0-dev ibgstreamer-plugins-base1.0-dev libglib2.0-dev
pip3 install actfw-gstreamer
Document
Usage
See actfw-core for basic usage.
actfw-gstreamer provides:
actfw_gstreamer.jetson.Display
: Display usingnvoverlaysink
element in NVIDIA's Accelerated GStreamer.
Example
example/hello_jetson
: The simplest application example for Jetson- Use HDMI display as 1280x720 area
- Generate 1280x720 single-colored image
- Draw "Hello, Actcast!" text
- Display it as 1280x720 image
- Notice message for each frame
- Support application heartbeat
- Support "Take Photo" command
- Depends: fonts-dejavu-core
Development Guide
Installation of dev requirements
pip3 install pipenv
pipenv install --dev -e .
Running tests
pipenv run nose2 -v
Running examples
On a Jetson Nano connected to HDMI display:
apt-get install fonts-dejavu-core
pipenv run python example/hello_jetson
Releasing package & API doc
CI will automatically do. Follow the following branch/tag rules.
- Make changes for next version in
master
branch (via pull-requests). - Update
actfw_gstreamer/_version.py
with new version inmaster
branch. - Create Git tag from
master
branch's HEAD namedrelease-<New version>
. E.g.release-1.4.0
. - Then CI will build/upload package to PyPI & API doc to GitHub Pages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for actfw_gstreamer-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b18eef4fd2d26ca851456512ac938667b3bb0727065c6a590ddaa65948eb51 |
|
MD5 | c8bae71751fa6408ab79c0fb1994edf2 |
|
BLAKE2b-256 | 88f1e60b20208f51f1d8d80ff67e1748a496d0bbe628a6c67872b400608f17d1 |