.. _examples: Examples ======== Each example is a complete pipeline you can run in a few minutes: an install command, the configuration file, an input to test it on, and the output to expect. The configuration files are in the ``examples/`` folder of the `Juturna repository `_. .. grid:: 1 2 2 2 :gutter: 3 .. grid-item-card:: Build a voice assistant :link: voice_assistant :link-type: doc Ask a question out loud and hear the answer, with speech recognition, a language model and a synthetic voice all on your machine. .. container:: jt-figure jt-mini .. raw:: html :file: ../diagrams/voice_assistant_mini.svg .. grid-item-card:: Detect objects in a video :link: video_detection :link-type: doc Find people, cars and 78 more classes in a video, and post an event to a webhook when one shows up. .. container:: jt-figure jt-mini .. raw:: html :file: ../diagrams/video_detection_mini.svg What each example needs ----------------------- .. list-table:: :header-rows: 1 :widths: 24 16 26 17 17 * - Example - Extras - Download - Hardware - OS * - :doc:`voice_assistant` - ``mic-source``, ``transcriber-sherpa``, ``synthesizer-sherpa``, ``speaker-sink`` - about 240 MB of packages, 107 MB of speech models, and the 986 MB language model through Ollama - CPU, microphone and speaker - Linux (tested); no push-to-talk on Windows * - :doc:`video_detection` - ``video-capture``, ``detector-yolox`` - about 270 MB of packages, a 3.7 MB model, a 2 MB video - CPU - Linux (tested) The download is the size of a fresh virtual environment with the example installed, plus the model and the test input fetched on the first run. More nodes are in the :doc:`catalogue `, such as :ref:`AudioRtp `, which receives the calls of Janus or Asterisk; to take a pipeline to production, :doc:`work with Meetecho `.