# Image segmentation and encode with LiteRT

Source: [https://docs.qualcomm.com/doc/80-70020-50/topic/single-camera-stream-with-image-segmentation-and-encode.html](https://docs.qualcomm.com/doc/80-70020-50/topic/single-camera-stream-with-image-segmentation-and-encode.html)

The use case implements the `deeplabv3_resnet50` LiteRT model to
        compose the semantic segmentations and original video stream, encode this stream, and then
        multiplex it in an MP4 container.

Note: For Ubuntu Server, `sudo` access is necessary to
            write the encoded stream to the `/etc/media` folder.

Run the use case on the target
            device:

    gst-launch-1.0 -e --gst-debug=2 \
    qtiqmmfsrc name=camsrc ! video/x-raw,format=NV12_Q08C,width=1280,height=720,framerate=30/1 ! queue ! tee name=split \
    split. ! queue ! qtivcomposer name=mixer sink_1::dimensions="<1920,1080>" sink_1::alpha=0.5 ! queue ! video/x-raw,format=NV12,width=1920,height=1080,interlace-mode=progressive,colorimetry=bt601 ! \
    v4l2h264enc capture-io-mode=4 output-io-mode=5 ! h264parse ! queue ! mp4mux ! queue ! filesink location=/etc/media/video.mp4 \
    split. ! queue ! qtimlvconverter ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so \
    external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/etc/models/deeplabv3_plus_mobilenet_quantized.tflite ! queue ! \
    qtimlvsegmentation module=deeplab-argmax labels=/etc/labels/deeplabv3_resnet50.labels constants="deeplab,q-offsets=<0.0>,q-scales=<1.0>;" ! video/x-raw,width=256,height=144 ! queue ! mixer.Copy to clipboard

To stop the use case,  use CTRL + C.

The following figure shows the flow of the use case execution:

1. Identify the scenes from a video stream coming through a camera source.
2. Compose the semantic segmentation and video stream using qtivcomposer.
3. Encode the stream as a H.264 bit stream and multiplex the stream in an MP4
                container.

Figure : Pipeline for segmentation and encode with qtivcomposer
            
            <!--?xml version="1.0" encoding="UTF-8"?-->
<svg xmlns="http://www.w3.org/2000/svg" width="1053.93" height="355.54" viewbox="0 0 1053.93 355.54">
  <g id="Layer_1" data-name="Layer 1">
    <g>
      <rect x=".5" y=".5" width="1052.93" height="354.54" rx="7.5" ry="7.5" style="fill: #fafafa;"></rect>
      <path d="M1045.93,1c3.86,0,7,3.14,7,7v339.54c0,3.86-3.14,7-7,7H8c-3.86,0-7-3.14-7-7V8c0-3.86,3.14-7,7-7h1037.93M1045.93,0H8C3.58,0,0,3.58,0,8v339.54c0,4.42,3.58,8,8,8h1037.93c4.42,0,8-3.58,8-8V8c0-4.42-3.58-8-8-8h0Z" style="fill: #d2d7e1;"></path>
    </g>
    <g>
      <g>
        <path d="M971.02,326.97c0,.96-.15,1.79-.46,2.49-.31.69-.73,1.24-1.29,1.63l1.78,1.39-.9.83-2.1-1.67c-.33.08-.67.12-1.04.12-.78,0-1.48-.19-2.08-.58-.61-.38-1.08-.93-1.41-1.65-.34-.71-.51-1.54-.52-2.48v-.72c0-.96.17-1.8.5-2.54s.8-1.29,1.41-1.69c.61-.39,1.3-.58,2.09-.58s1.51.19,2.12.58c.61.39,1.08.94,1.41,1.67.33.73.49,1.58.49,2.55v.64ZM969.7,326.33c0-1.17-.23-2.08-.7-2.71-.47-.64-1.13-.95-2-.95s-1.48.32-1.95.95c-.48.63-.72,1.51-.74,2.63v.73c0,1.14.24,2.04.71,2.69.48.66,1.14.98,1.99.98s1.5-.31,1.97-.93c.46-.62.7-1.5.72-2.66v-.74Z"></path>
        <path d="M977.41,330.9c-.49.58-1.21.87-2.17.87-.79,0-1.39-.23-1.8-.69-.41-.46-.62-1.14-.62-2.03v-4.81h1.26v4.78c0,1.12.46,1.68,1.37,1.68.97,0,1.61-.36,1.93-1.08v-5.38h1.26v7.4h-1.2l-.03-.73Z"></path>
        <path d="M985.13,331.63c-.07-.15-.13-.41-.18-.78-.59.61-1.29.92-2.11.92-.73,0-1.33-.21-1.79-.62-.47-.41-.7-.93-.7-1.57,0-.77.29-1.37.88-1.79.59-.43,1.41-.64,2.47-.64h1.23v-.58c0-.44-.13-.79-.4-1.06-.26-.26-.65-.39-1.17-.39-.45,0-.83.11-1.13.34s-.46.5-.46.83h-1.27c0-.37.13-.73.39-1.07.26-.34.62-.62,1.07-.82.45-.2.94-.3,1.48-.3.85,0,1.52.21,2,.64.48.43.73,1.01.75,1.76v3.4c0,.68.09,1.22.26,1.62v.11h-1.33ZM983.03,330.66c.4,0,.77-.1,1.13-.31s.61-.47.77-.8v-1.52h-.99c-1.55,0-2.32.45-2.32,1.36,0,.4.13.71.4.93s.6.33,1.02.33Z"></path>
        <path d="M989.55,331.63h-1.26v-10.5h1.26v10.5Z"></path>
        <path d="M994.54,330.73c.45,0,.85-.14,1.18-.41s.52-.62.56-1.03h1.2c-.02.42-.17.83-.44,1.21s-.63.69-1.08.92c-.45.23-.92.34-1.43.34-1.01,0-1.81-.34-2.4-1.01-.6-.67-.89-1.59-.89-2.76v-.21c0-.72.13-1.36.4-1.92s.64-1,1.14-1.31c.49-.31,1.08-.46,1.75-.46.83,0,1.52.25,2.07.75.55.5.84,1.14.88,1.93h-1.2c-.04-.48-.22-.87-.54-1.18-.33-.31-.73-.46-1.21-.46-.64,0-1.14.23-1.49.69-.35.46-.53,1.13-.53,2.01v.24c0,.85.18,1.51.53,1.97s.85.69,1.5.69Z"></path>
        <path d="M998.57,327.86c0-.72.14-1.38.43-1.96.29-.58.68-1.03,1.19-1.34.51-.31,1.09-.47,1.74-.47,1.01,0,1.82.35,2.44,1.05.62.7.93,1.62.93,2.78v.09c0,.72-.14,1.37-.41,1.94-.28.57-.67,1.02-1.18,1.34-.51.32-1.1.48-1.77.48-1,0-1.81-.35-2.44-1.05-.62-.7-.93-1.62-.93-2.77v-.09ZM999.84,328.01c0,.82.19,1.48.57,1.98.38.5.89.75,1.53.75s1.15-.25,1.53-.75c.38-.5.57-1.21.57-2.12,0-.81-.19-1.47-.58-1.97-.39-.5-.9-.76-1.54-.76s-1.13.25-1.51.75-.57,1.21-.57,2.13Z"></path>
        <path d="M1008.07,324.23l.03.82c.54-.64,1.27-.96,2.19-.96,1.03,0,1.74.4,2.11,1.19.25-.36.57-.64.96-.86.39-.22.86-.33,1.4-.33,1.62,0,2.45.86,2.47,2.58v4.96h-1.26v-4.88c0-.53-.12-.92-.36-1.19-.24-.26-.65-.39-1.22-.39-.47,0-.86.14-1.17.42-.31.28-.49.66-.54,1.13v4.91h-1.27v-4.85c0-1.08-.53-1.61-1.58-1.61-.83,0-1.4.35-1.7,1.06v5.4h-1.26v-7.4h1.2Z"></path>
        <path d="M1020.34,324.23l.03.82c.54-.64,1.27-.96,2.19-.96,1.03,0,1.74.4,2.11,1.19.25-.36.57-.64.96-.86.39-.22.86-.33,1.4-.33,1.62,0,2.45.86,2.47,2.58v4.96h-1.26v-4.88c0-.53-.12-.92-.36-1.19-.24-.26-.65-.39-1.22-.39-.47,0-.86.14-1.17.42-.31.28-.49.66-.54,1.13v4.91h-1.27v-4.85c0-1.08-.53-1.61-1.58-1.61-.83,0-1.4.35-1.7,1.06v5.4h-1.26v-7.4h1.2Z"></path>
      </g>
      <rect x="942.01" y="319.54" width="16" height="16" rx="2" ry="2" style="fill: #2a2aea;"></rect>
    </g>
  </g>
  <g id="Layer_2" data-name="Layer 2">
    <g>
      <g>
        <rect x="20" y="20" width="120" height="50" rx="4" ry="4" style="fill: #d2d7e1;"></rect>
        <g>
          <path d="M57.99,47.48c.52,0,.97-.16,1.35-.47.39-.31.6-.7.64-1.17h1.37c-.03.48-.19.95-.5,1.38-.31.44-.72.79-1.23,1.05-.51.26-1.06.39-1.63.39-1.15,0-2.07-.38-2.75-1.15-.68-.77-1.02-1.82-1.02-3.15v-.24c0-.82.15-1.55.45-2.2.3-.64.74-1.14,1.3-1.49.56-.35,1.23-.53,2-.53.95,0,1.74.28,2.36.85.63.57.96,1.3,1,2.21h-1.37c-.04-.55-.25-1-.62-1.35-.37-.35-.83-.53-1.38-.53-.73,0-1.3.26-1.71.79-.4.53-.61,1.29-.61,2.29v.27c0,.97.2,1.72.6,2.25.4.53.97.79,1.72.79Z"></path>
          <path d="M68.19,48.51c-.08-.17-.15-.46-.2-.89-.67.7-1.47,1.05-2.41,1.05-.83,0-1.52-.24-2.05-.71-.53-.47-.8-1.07-.8-1.79,0-.88.33-1.56,1-2.05.67-.49,1.61-.73,2.82-.73h1.41v-.66c0-.5-.15-.91-.45-1.21-.3-.3-.75-.45-1.34-.45-.52,0-.95.13-1.3.39-.35.26-.52.58-.52.95h-1.45c0-.42.15-.83.45-1.22.3-.39.71-.7,1.22-.93.51-.23,1.08-.34,1.69-.34.97,0,1.74.24,2.29.73.55.49.84,1.16.86,2.01v3.89c0,.78.1,1.39.3,1.85v.12h-1.52ZM65.79,47.41c.45,0,.88-.12,1.29-.35s.7-.54.88-.91v-1.73h-1.13c-1.77,0-2.66.52-2.66,1.55,0,.45.15.81.45,1.06.3.26.69.38,1.16.38Z"></path>
          <path d="M73.04,40.05l.04.94c.62-.73,1.46-1.09,2.51-1.09,1.18,0,1.99.45,2.41,1.36.28-.41.65-.73,1.1-.98.45-.25.98-.38,1.6-.38,1.85,0,2.8.98,2.83,2.95v5.66h-1.45v-5.58c0-.6-.14-1.06-.41-1.36-.28-.3-.74-.45-1.39-.45-.54,0-.98.16-1.34.48-.35.32-.56.75-.62,1.29v5.61h-1.45v-5.54c0-1.23-.6-1.84-1.8-1.84-.95,0-1.6.4-1.95,1.21v6.17h-1.45v-8.45h1.37Z"></path>
          <path d="M90.62,46.26c0-.39-.15-.69-.44-.91-.29-.22-.81-.4-1.54-.56-.73-.16-1.31-.34-1.74-.56s-.75-.48-.95-.78c-.21-.3-.31-.66-.31-1.08,0-.69.29-1.28.88-1.76.59-.48,1.33-.72,2.25-.72.96,0,1.74.25,2.33.74.6.5.89,1.13.89,1.9h-1.45c0-.4-.17-.74-.5-1.02-.34-.29-.76-.43-1.27-.43s-.94.11-1.23.34c-.3.23-.45.53-.45.9,0,.35.14.61.41.79.28.18.77.35,1.5.51.72.16,1.31.35,1.75.58.45.22.78.49,1,.81.22.32.32.7.32,1.15,0,.76-.3,1.36-.91,1.82-.6.46-1.39.68-2.35.68-.68,0-1.28-.12-1.8-.36-.52-.24-.93-.57-1.22-1-.29-.43-.44-.89-.44-1.39h1.45c.03.48.22.87.58,1.15.36.28.84.43,1.43.43.55,0,.99-.11,1.32-.33.33-.22.5-.52.5-.89Z"></path>
          <path d="M98.04,41.35c-.22-.04-.46-.05-.71-.05-.95,0-1.59.4-1.93,1.21v6h-1.45v-8.45h1.41l.02.98c.47-.75,1.15-1.13,2.02-1.13.28,0,.49.04.64.11v1.34Z"></path>
          <path d="M102.61,47.48c.52,0,.97-.16,1.35-.47.39-.31.6-.7.64-1.17h1.37c-.03.48-.19.95-.5,1.38-.31.44-.72.79-1.23,1.05-.51.26-1.06.39-1.63.39-1.15,0-2.07-.38-2.75-1.15-.68-.77-1.02-1.82-1.02-3.15v-.24c0-.82.15-1.55.45-2.2.3-.64.74-1.14,1.3-1.49.56-.35,1.23-.53,2-.53.95,0,1.74.28,2.36.85.63.57.96,1.3,1,2.21h-1.37c-.04-.55-.25-1-.62-1.35-.37-.35-.83-.53-1.38-.53-.73,0-1.3.26-1.71.79-.4.53-.61,1.29-.61,2.29v.27c0,.97.2,1.72.6,2.25.4.53.97.79,1.72.79Z"></path>
        </g>
      </g>
      <g>
        <rect x="166.07" y="20" width="120" height="50" rx="4" ry="4" style="fill: #d2d7e1;"></rect>
        <g>
          <path d="M218.03,38.01v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z"></path>
          <path d="M224.81,48.66c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM224.63,41.08c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z"></path>
          <path d="M233.28,48.66c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM233.1,41.08c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z"></path>
        </g>
      </g>
      <g>
        <rect x="146.07" y="96.84" width="160" height="50" rx="4" ry="4" style="fill: #2a2aea;"></rect>
        <g>
          <path d="M171.24,121.05c0-1.33.3-2.38.91-3.15s1.43-1.16,2.45-1.16,1.79.34,2.37,1.01l.06-.85h1.33v11.7h-1.45v-4.03c-.58.62-1.36.94-2.33.94-1.02,0-1.83-.4-2.44-1.19-.61-.79-.91-1.85-.91-3.16v-.1ZM172.69,121.22c0,.97.2,1.73.61,2.28.41.55.96.83,1.65.83.86,0,1.52-.38,1.97-1.14v-4.14c-.46-.74-1.11-1.12-1.95-1.12-.7,0-1.25.28-1.66.83-.41.55-.62,1.37-.62,2.46Z" style="fill: #fff;"></path>
          <path d="M182.65,114.85v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M185.92,114.65c0-.23.07-.43.21-.59.14-.16.36-.24.64-.24s.49.08.64.24c.15.16.22.36.22.59s-.07.43-.22.59c-.15.16-.36.23-.64.23s-.49-.08-.64-.23c-.14-.16-.21-.35-.21-.59ZM187.49,125.35h-1.45v-8.45h1.45v8.45Z" style="fill: #fff;"></path>
          <path d="M191.16,116.89l.04.94c.62-.73,1.46-1.09,2.51-1.09,1.18,0,1.99.45,2.41,1.36.28-.41.65-.73,1.1-.98.45-.25.98-.38,1.6-.38,1.85,0,2.8.98,2.83,2.95v5.66h-1.45v-5.58c0-.6-.14-1.06-.41-1.36-.28-.3-.74-.45-1.39-.45-.54,0-.98.16-1.34.48-.35.32-.56.75-.62,1.29v5.61h-1.45v-5.54c0-1.23-.6-1.84-1.8-1.84-.95,0-1.6.4-1.95,1.21v6.17h-1.45v-8.45h1.37Z" style="fill: #fff;"></path>
          <path d="M205.39,125.35h-1.45v-12h1.45v12Z" style="fill: #fff;"></path>
          <path d="M210.49,123.39l2.09-6.49h1.48l-3.03,8.45h-1.1l-3.06-8.45h1.48l2.15,6.49Z" style="fill: #fff;"></path>
          <path d="M218.74,124.32c.52,0,.97-.16,1.35-.47.39-.31.6-.7.64-1.17h1.37c-.03.48-.19.95-.5,1.38-.31.44-.72.79-1.23,1.05-.51.26-1.06.39-1.63.39-1.15,0-2.07-.38-2.75-1.15-.68-.77-1.02-1.82-1.02-3.15v-.24c0-.82.15-1.55.45-2.2.3-.64.74-1.14,1.3-1.49.56-.35,1.23-.53,2-.53.95,0,1.74.28,2.36.85.63.57.96,1.3,1,2.21h-1.37c-.04-.55-.25-1-.62-1.35-.37-.35-.83-.53-1.38-.53-.73,0-1.3.26-1.71.79-.4.53-.61,1.29-.61,2.29v.27c0,.97.2,1.72.6,2.25.4.53.97.79,1.72.79Z" style="fill: #fff;"></path>
          <path d="M223.34,121.04c0-.83.16-1.57.49-2.23.33-.66.78-1.17,1.36-1.53.58-.36,1.24-.54,1.99-.54,1.15,0,2.08.4,2.79,1.2s1.07,1.86,1.07,3.18v.1c0,.82-.16,1.56-.47,2.21-.32.65-.77,1.16-1.35,1.53-.59.36-1.26.55-2.02.55-1.15,0-2.07-.4-2.79-1.2s-1.07-1.85-1.07-3.16v-.1ZM224.8,121.22c0,.94.22,1.69.65,2.26.43.57,1.02.85,1.75.85s1.32-.29,1.75-.86c.43-.58.65-1.38.65-2.42,0-.93-.22-1.68-.66-2.25-.44-.58-1.02-.86-1.75-.86s-1.29.28-1.73.85c-.44.57-.66,1.38-.66,2.44Z" style="fill: #fff;"></path>
          <path d="M234.22,116.89l.05,1.06c.65-.81,1.49-1.22,2.53-1.22,1.79,0,2.69,1.01,2.7,3.02v5.59h-1.45v-5.59c0-.61-.14-1.06-.42-1.35-.27-.29-.7-.44-1.28-.44-.47,0-.88.12-1.23.38-.35.25-.63.58-.83.98v6.02h-1.45v-8.45h1.37Z" style="fill: #fff;"></path>
          <path d="M244.47,123.39l2.09-6.49h1.48l-3.03,8.45h-1.1l-3.06-8.45h1.48l2.15,6.49Z" style="fill: #fff;"></path>
          <path d="M252.84,125.5c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM252.66,117.93c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z" style="fill: #fff;"></path>
          <path d="M261.89,118.19c-.22-.04-.46-.05-.71-.05-.95,0-1.59.4-1.93,1.21v6h-1.45v-8.45h1.41l.02.98c.47-.75,1.15-1.13,2.02-1.13.28,0,.49.04.64.11v1.34Z" style="fill: #fff;"></path>
          <path d="M265.57,114.85v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M272.34,125.5c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM272.17,117.93c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z" style="fill: #fff;"></path>
          <path d="M281.4,118.19c-.22-.04-.46-.05-.71-.05-.95,0-1.59.4-1.93,1.21v6h-1.45v-8.45h1.41l.02.98c.47-.75,1.15-1.13,2.02-1.13.28,0,.49.04.64.11v1.34Z" style="fill: #fff;"></path>
        </g>
      </g>
      <g>
        <line x1="140.53" y1="45" x2="160.51" y2="45" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="159.49 48.49 165.53 45 159.49 41.51 159.49 48.49"></polygon>
      </g>
      <g>
        <rect x="312.06" y="20" width="140" height="50" rx="4" ry="4" style="fill: #2a2aea;"></rect>
        <g>
          <path d="M334,45.38c0-1.33.3-2.38.91-3.15s1.43-1.16,2.45-1.16,1.79.34,2.37,1.01l.06-.85h1.33v11.7h-1.45v-4.03c-.58.62-1.36.94-2.33.94-1.02,0-1.83-.4-2.44-1.19-.61-.79-.91-1.85-.91-3.16v-.1ZM335.44,45.54c0,.97.2,1.73.61,2.28.41.55.96.83,1.65.83.86,0,1.52-.38,1.97-1.14v-4.14c-.46-.74-1.11-1.12-1.95-1.12-.7,0-1.25.28-1.66.83-.41.55-.62,1.37-.62,2.46Z" style="fill: #fff;"></path>
          <path d="M345.41,39.18v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M348.68,38.98c0-.23.07-.43.21-.59.14-.16.36-.24.64-.24s.49.08.64.24c.15.16.22.36.22.59s-.07.43-.22.59c-.15.16-.36.23-.64.23s-.49-.08-.64-.23c-.14-.16-.21-.35-.21-.59ZM350.24,49.68h-1.45v-8.45h1.45v8.45Z" style="fill: #fff;"></path>
          <path d="M355.34,47.71l2.09-6.49h1.48l-3.03,8.45h-1.1l-3.06-8.45h1.48l2.15,6.49Z" style="fill: #fff;"></path>
          <path d="M363.59,48.65c.52,0,.97-.16,1.35-.47.39-.31.6-.7.64-1.17h1.37c-.03.48-.19.95-.5,1.38-.31.44-.72.79-1.23,1.05-.51.26-1.06.39-1.63.39-1.15,0-2.07-.38-2.75-1.15-.68-.77-1.02-1.82-1.02-3.15v-.24c0-.82.15-1.55.45-2.2.3-.64.74-1.14,1.3-1.49.56-.35,1.23-.53,2-.53.95,0,1.74.28,2.36.85.63.57.96,1.3,1,2.21h-1.37c-.04-.55-.25-1-.62-1.35-.37-.35-.83-.53-1.38-.53-.73,0-1.3.26-1.71.79-.4.53-.61,1.29-.61,2.29v.27c0,.97.2,1.72.6,2.25.4.53.97.79,1.72.79Z" style="fill: #fff;"></path>
          <path d="M368.19,45.37c0-.83.16-1.57.49-2.23.33-.66.78-1.17,1.36-1.53.58-.36,1.24-.54,1.99-.54,1.15,0,2.08.4,2.79,1.2s1.07,1.86,1.07,3.18v.1c0,.82-.16,1.56-.47,2.21-.32.65-.77,1.16-1.35,1.53-.59.36-1.26.55-2.02.55-1.15,0-2.07-.4-2.79-1.2s-1.07-1.85-1.07-3.16v-.1ZM369.65,45.54c0,.94.22,1.69.65,2.26.43.57,1.02.85,1.75.85s1.32-.29,1.75-.86c.43-.58.65-1.38.65-2.42,0-.93-.22-1.68-.66-2.25-.44-.58-1.02-.86-1.75-.86s-1.29.28-1.73.85c-.44.57-.66,1.38-.66,2.44Z" style="fill: #fff;"></path>
          <path d="M379.06,41.22l.04.94c.62-.73,1.46-1.09,2.51-1.09,1.18,0,1.99.45,2.41,1.36.28-.41.65-.73,1.1-.98.45-.25.98-.38,1.6-.38,1.85,0,2.8.98,2.83,2.95v5.66h-1.45v-5.58c0-.6-.14-1.06-.41-1.36-.28-.3-.74-.45-1.39-.45-.54,0-.98.16-1.34.48-.35.32-.56.75-.62,1.29v5.61h-1.45v-5.54c0-1.23-.6-1.84-1.8-1.84-.95,0-1.6.4-1.95,1.21v6.17h-1.45v-8.45h1.37Z" style="fill: #fff;"></path>
          <path d="M398.87,45.54c0,1.29-.29,2.32-.88,3.11-.59.79-1.39,1.18-2.39,1.18s-1.83-.33-2.42-.98v4.07h-1.45v-11.7h1.32l.07.94c.59-.73,1.41-1.09,2.45-1.09s1.82.38,2.41,1.15c.59.77.89,1.83.89,3.2v.13ZM397.42,45.38c0-.95-.2-1.71-.61-2.26-.41-.55-.96-.83-1.67-.83-.88,0-1.53.39-1.97,1.16v4.04c.43.77,1.09,1.16,1.98,1.16.69,0,1.24-.27,1.65-.82.41-.55.61-1.37.61-2.45Z" style="fill: #fff;"></path>
          <path d="M400.32,45.37c0-.83.16-1.57.49-2.23.33-.66.78-1.17,1.36-1.53.58-.36,1.24-.54,1.99-.54,1.15,0,2.08.4,2.79,1.2s1.07,1.86,1.07,3.18v.1c0,.82-.16,1.56-.47,2.21-.32.65-.77,1.16-1.35,1.53-.59.36-1.26.55-2.02.55-1.15,0-2.07-.4-2.79-1.2s-1.07-1.85-1.07-3.16v-.1ZM401.77,45.54c0,.94.22,1.69.65,2.26.43.57,1.02.85,1.75.85s1.32-.29,1.75-.86c.43-.58.65-1.38.65-2.42,0-.93-.22-1.68-.66-2.25-.44-.58-1.02-.86-1.75-.86s-1.29.28-1.73.85c-.44.57-.66,1.38-.66,2.44Z" style="fill: #fff;"></path>
          <path d="M414.75,47.43c0-.39-.15-.69-.44-.91-.29-.22-.81-.4-1.54-.56-.73-.16-1.31-.34-1.74-.56s-.75-.48-.95-.78c-.21-.3-.31-.66-.31-1.08,0-.69.29-1.28.88-1.76.59-.48,1.33-.72,2.25-.72.96,0,1.74.25,2.33.74.6.5.89,1.13.89,1.9h-1.45c0-.4-.17-.74-.5-1.02-.34-.29-.76-.43-1.27-.43s-.94.11-1.23.34c-.3.23-.45.53-.45.9,0,.35.14.61.41.79.28.18.77.35,1.5.51.72.16,1.31.35,1.75.58.45.22.78.49,1,.81.22.32.32.7.32,1.15,0,.76-.3,1.36-.91,1.82-.6.46-1.39.68-2.35.68-.68,0-1.28-.12-1.8-.36-.52-.24-.93-.57-1.22-1-.29-.43-.44-.89-.44-1.39h1.45c.03.48.22.87.58,1.15.36.28.84.43,1.43.43.55,0,.99-.11,1.32-.33.33-.22.5-.52.5-.89Z" style="fill: #fff;"></path>
          <path d="M421.58,49.83c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM421.41,42.25c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z" style="fill: #fff;"></path>
          <path d="M430.64,42.52c-.22-.04-.46-.05-.71-.05-.95,0-1.59.4-1.93,1.21v6h-1.45v-8.45h1.41l.02.98c.47-.75,1.15-1.13,2.02-1.13.28,0,.49.04.64.11v1.34Z" style="fill: #fff;"></path>
        </g>
      </g>
      <g>
        <line x1="286.07" y1="45" x2="306.04" y2="45" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="305.02 48.49 311.07 45 305.02 41.51 305.02 48.49"></polygon>
      </g>
      <g>
        <line x1="452.06" y1="45" x2="472.04" y2="45" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="471.02 48.49 477.06 45 471.02 41.51 471.02 48.49"></polygon>
      </g>
      <g>
        <rect x="477.33" y="20" width="120" height="50" rx="4" ry="4" style="fill: #d2d7e1;"></rect>
        <g>
          <path d="M495.69,46.55l2.09-6.49h1.48l-3.03,8.45h-1.1l-3.06-8.45h1.48l2.15,6.49Z"></path>
          <path d="M506.61,44.69h1.58v1.18h-1.58v2.64h-1.45v-2.64h-5.18v-.85l5.09-7.88h1.54v7.55ZM501.61,44.69h3.54v-5.58l-.17.31-3.37,5.27Z"></path>
          <path d="M511.21,48.51h-1.45v-12h1.45v12Z"></path>
          <path d="M520.82,48.51h-7.45v-1.04l3.94-4.38c.58-.66.99-1.2,1.21-1.61.22-.41.33-.84.33-1.29,0-.59-.18-1.08-.54-1.46-.36-.38-.84-.57-1.44-.57-.72,0-1.28.2-1.68.61-.4.41-.6.98-.6,1.71h-1.45c0-1.05.34-1.89,1.01-2.54.67-.65,1.58-.97,2.71-.97,1.06,0,1.89.28,2.51.83.61.55.92,1.29.92,2.21,0,1.12-.71,2.45-2.14,4l-3.05,3.3h5.71v1.18Z"></path>
          <path d="M523.95,41.08c.64-.79,1.47-1.18,2.5-1.18,1.79,0,2.69,1.01,2.7,3.02v5.59h-1.45v-5.59c0-.61-.14-1.06-.42-1.35-.27-.29-.7-.44-1.28-.44-.47,0-.88.12-1.23.38-.35.25-.63.58-.83.98v6.02h-1.45v-12h1.45v4.57Z"></path>
          <path d="M538.62,48.51h-7.45v-1.04l3.94-4.38c.58-.66.99-1.2,1.21-1.61.22-.41.33-.84.33-1.29,0-.59-.18-1.08-.54-1.46-.36-.38-.84-.57-1.44-.57-.72,0-1.28.2-1.68.61-.4.41-.6.98-.6,1.71h-1.45c0-1.05.34-1.89,1.01-2.54.67-.65,1.58-.97,2.71-.97,1.06,0,1.89.28,2.51.83.61.55.92,1.29.92,2.21,0,1.12-.71,2.45-2.14,4l-3.05,3.3h5.71v1.18Z"></path>
          <path d="M545.82,37.12v1.23h-.27c-1.12.02-2.02.35-2.69,1-.67.65-1.05,1.55-1.16,2.73.6-.69,1.42-1.03,2.45-1.03s1.78.35,2.37,1.05c.59.7.89,1.6.89,2.7,0,1.17-.32,2.11-.96,2.81-.64.7-1.49,1.05-2.57,1.05s-1.97-.42-2.65-1.25c-.68-.84-1.02-1.91-1.02-3.23v-.55c0-2.09.45-3.69,1.34-4.8.89-1.11,2.22-1.67,3.99-1.7h.26ZM543.93,42.25c-.5,0-.95.15-1.37.45-.42.3-.71.67-.87,1.12v.53c0,.94.21,1.69.63,2.27.42.57.95.86,1.58.86s1.16-.24,1.54-.72c.37-.48.56-1.11.56-1.88s-.19-1.41-.57-1.89c-.38-.48-.88-.72-1.5-.72Z"></path>
          <path d="M555.24,44.69h1.58v1.18h-1.58v2.64h-1.45v-2.64h-5.18v-.85l5.09-7.88h1.54v7.55ZM550.25,44.69h3.54v-5.58l-.17.31-3.37,5.27Z"></path>
          <path d="M561.78,48.66c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM561.6,41.08c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z"></path>
          <path d="M568.11,40.05l.05,1.06c.65-.81,1.49-1.22,2.53-1.22,1.79,0,2.69,1.01,2.7,3.02v5.59h-1.45v-5.59c0-.61-.14-1.06-.42-1.35-.27-.29-.7-.44-1.28-.44-.47,0-.88.12-1.23.38-.35.25-.63.58-.83.98v6.02h-1.45v-8.45h1.37Z"></path>
          <path d="M578.97,47.48c.52,0,.97-.16,1.35-.47.38-.31.6-.7.64-1.17h1.37c-.03.48-.19.95-.5,1.38-.31.44-.72.79-1.23,1.05-.51.26-1.06.39-1.63.39-1.15,0-2.07-.38-2.75-1.15-.68-.77-1.02-1.82-1.02-3.15v-.24c0-.82.15-1.55.45-2.2.3-.64.74-1.14,1.3-1.49.56-.35,1.23-.53,2-.53.95,0,1.74.28,2.36.85.63.57.96,1.3,1,2.21h-1.37c-.04-.55-.25-1-.62-1.35-.37-.35-.83-.53-1.38-.53-.73,0-1.3.26-1.71.79-.4.53-.61,1.29-.61,2.29v.27c0,.97.2,1.72.6,2.25.4.53.97.79,1.72.79Z"></path>
        </g>
      </g>
      <g>
        <rect x="622.87" y="20" width="120" height="50" rx="4" ry="4" style="fill: #d2d7e1;"></rect>
        <g>
          <path d="M647.61,41.08c.64-.79,1.47-1.18,2.5-1.18,1.79,0,2.69,1.01,2.7,3.02v5.59h-1.45v-5.59c0-.61-.14-1.06-.42-1.35-.27-.29-.7-.44-1.28-.44-.47,0-.88.12-1.23.38-.35.25-.63.58-.83.98v6.02h-1.45v-12h1.45v4.57Z"></path>
          <path d="M662.28,48.51h-7.45v-1.04l3.94-4.38c.58-.66.99-1.2,1.21-1.61.22-.41.33-.84.33-1.29,0-.59-.18-1.08-.54-1.46-.36-.38-.84-.57-1.44-.57-.72,0-1.28.2-1.68.61-.4.41-.6.98-.6,1.71h-1.45c0-1.05.34-1.89,1.01-2.54.67-.65,1.58-.97,2.71-.97,1.06,0,1.89.28,2.51.83.61.55.92,1.29.92,2.21,0,1.12-.71,2.45-2.14,4l-3.05,3.3h5.71v1.18Z"></path>
          <path d="M669.49,37.12v1.23h-.27c-1.12.02-2.02.35-2.69,1-.67.65-1.05,1.55-1.16,2.73.6-.69,1.42-1.03,2.45-1.03s1.78.35,2.37,1.05c.59.7.89,1.6.89,2.7,0,1.17-.32,2.11-.96,2.81-.64.7-1.49,1.05-2.57,1.05s-1.97-.42-2.65-1.25c-.68-.84-1.02-1.91-1.02-3.23v-.55c0-2.09.45-3.69,1.34-4.8.89-1.11,2.22-1.67,3.99-1.7h.26ZM667.59,42.25c-.5,0-.95.15-1.37.45-.42.3-.71.67-.87,1.12v.53c0,.94.21,1.69.63,2.27.42.57.95.86,1.58.86s1.16-.24,1.54-.72c.37-.48.56-1.11.56-1.88s-.19-1.41-.57-1.89c-.38-.48-.88-.72-1.5-.72Z"></path>
          <path d="M678.9,44.69h1.58v1.18h-1.58v2.64h-1.45v-2.64h-5.18v-.85l5.09-7.88h1.54v7.55ZM673.91,44.69h3.54v-5.58l-.17.31-3.37,5.27Z"></path>
          <path d="M689.07,44.37c0,1.29-.29,2.32-.88,3.11-.59.79-1.39,1.18-2.39,1.18s-1.83-.33-2.42-.98v4.07h-1.45v-11.7h1.32l.07.94c.59-.73,1.41-1.09,2.45-1.09s1.82.38,2.41,1.15c.59.77.89,1.83.89,3.2v.13ZM687.63,44.21c0-.95-.2-1.71-.61-2.26-.41-.55-.96-.83-1.67-.83-.88,0-1.53.39-1.97,1.16v4.04c.43.77,1.09,1.16,1.98,1.16.69,0,1.24-.27,1.65-.82.41-.55.61-1.37.61-2.45Z"></path>
          <path d="M696.13,48.51c-.08-.17-.15-.46-.2-.89-.67.7-1.47,1.05-2.41,1.05-.83,0-1.52-.24-2.05-.71-.53-.47-.8-1.07-.8-1.79,0-.88.33-1.56,1-2.05.67-.49,1.61-.73,2.82-.73h1.41v-.66c0-.5-.15-.91-.45-1.21-.3-.3-.75-.45-1.34-.45-.52,0-.95.13-1.3.39-.35.26-.52.58-.52.95h-1.45c0-.42.15-.83.45-1.22.3-.39.71-.7,1.22-.93.51-.23,1.08-.34,1.69-.34.97,0,1.74.24,2.29.73.55.49.84,1.16.86,2.01v3.89c0,.78.1,1.39.3,1.85v.12h-1.52ZM693.73,47.41c.45,0,.88-.12,1.29-.35s.7-.54.88-.91v-1.73h-1.13c-1.77,0-2.66.52-2.66,1.55,0,.45.15.81.45,1.06.3.26.69.38,1.16.38Z"></path>
          <path d="M703.7,41.35c-.22-.04-.46-.05-.71-.05-.95,0-1.59.4-1.93,1.21v6h-1.45v-8.45h1.41l.02.98c.47-.75,1.15-1.13,2.02-1.13.28,0,.49.04.64.11v1.34Z"></path>
          <path d="M709.95,46.26c0-.39-.15-.69-.44-.91-.29-.22-.81-.4-1.54-.56-.73-.16-1.31-.34-1.74-.56s-.75-.48-.95-.78c-.21-.3-.31-.66-.31-1.08,0-.69.29-1.28.88-1.76.59-.48,1.33-.72,2.25-.72.96,0,1.74.25,2.33.74.6.5.89,1.13.89,1.9h-1.45c0-.4-.17-.74-.5-1.02-.34-.29-.76-.43-1.27-.43s-.94.11-1.23.34c-.3.23-.45.53-.45.9,0,.35.14.61.41.79.28.18.77.35,1.5.51.72.16,1.31.35,1.75.58.45.22.78.49,1,.81.22.32.32.7.32,1.15,0,.76-.3,1.36-.91,1.82-.6.46-1.39.68-2.35.68-.68,0-1.28-.12-1.8-.36-.52-.24-.93-.57-1.22-1-.29-.43-.44-.89-.44-1.39h1.45c.03.48.22.87.58,1.15.36.28.84.43,1.43.43.55,0,.99-.11,1.32-.33.33-.22.5-.52.5-.89Z"></path>
          <path d="M716.78,48.66c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM716.6,41.08c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z"></path>
        </g>
      </g>
      <g>
        <line x1="597.33" y1="45" x2="617.31" y2="45" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="616.29 48.49 622.33 45 616.29 41.51 616.29 48.49"></polygon>
      </g>
      <g>
        <rect x="768.4" y="20" width="120" height="50" rx="4" ry="4" style="fill: #d2d7e1;"></rect>
        <g>
          <path d="M799.47,40.05l.04.94c.62-.73,1.46-1.09,2.51-1.09,1.18,0,1.99.45,2.41,1.36.28-.41.65-.73,1.1-.98s.98-.38,1.6-.38c1.85,0,2.8.98,2.83,2.95v5.66h-1.45v-5.58c0-.6-.14-1.06-.41-1.36-.28-.3-.74-.45-1.39-.45-.54,0-.98.16-1.34.48s-.56.75-.62,1.29v5.61h-1.45v-5.54c0-1.23-.6-1.84-1.8-1.84-.95,0-1.6.4-1.95,1.21v6.17h-1.45v-8.45h1.37Z"></path>
          <path d="M819.28,44.37c0,1.29-.29,2.32-.88,3.11-.59.79-1.39,1.18-2.39,1.18s-1.83-.33-2.42-.98v4.07h-1.45v-11.7h1.32l.07.94c.59-.73,1.41-1.09,2.45-1.09s1.82.38,2.41,1.15.89,1.83.89,3.2v.13ZM817.83,44.21c0-.95-.2-1.71-.61-2.26-.41-.55-.96-.83-1.67-.83-.88,0-1.53.39-1.97,1.16v4.04c.43.77,1.09,1.16,1.98,1.16.69,0,1.24-.27,1.65-.82.41-.55.61-1.37.61-2.45Z"></path>
          <path d="M827.07,44.69h1.58v1.18h-1.58v2.64h-1.45v-2.64h-5.18v-.85l5.09-7.88h1.54v7.55ZM822.08,44.69h3.54v-5.58l-.17.31-3.37,5.27Z"></path>
          <path d="M831.46,40.05l.04.94c.62-.73,1.46-1.09,2.51-1.09,1.18,0,1.99.45,2.41,1.36.28-.41.65-.73,1.1-.98s.98-.38,1.6-.38c1.85,0,2.8.98,2.83,2.95v5.66h-1.45v-5.58c0-.6-.14-1.06-.41-1.36-.28-.3-.74-.45-1.39-.45-.54,0-.98.16-1.34.48s-.56.75-.62,1.29v5.61h-1.45v-5.54c0-1.23-.6-1.84-1.8-1.84-.95,0-1.6.4-1.95,1.21v6.17h-1.45v-8.45h1.37Z"></path>
          <path d="M849.34,47.67c-.56.66-1.39.99-2.48.99-.9,0-1.59-.26-2.06-.79s-.71-1.3-.71-2.32v-5.5h1.45v5.46c0,1.28.52,1.92,1.56,1.92,1.1,0,1.84-.41,2.2-1.23v-6.15h1.45v8.45h-1.38l-.03-.84Z"></path>
          <path d="M855.78,43.14l1.88-3.09h1.69l-2.77,4.18,2.85,4.27h-1.67l-1.95-3.16-1.95,3.16h-1.68l2.85-4.27-2.77-4.18h1.67l1.85,3.09Z"></path>
        </g>
      </g>
      <g>
        <line x1="742.87" y1="45" x2="762.84" y2="45" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="761.82 48.49 767.87 45 761.82 41.51 761.82 48.49"></polygon>
      </g>
      <g>
        <rect x="913.93" y="20" width="120" height="50" rx="4" ry="4" style="fill: #d2d7e1;"></rect>
        <g>
          <path d="M950.3,48.51v-7.34h-1.34v-1.12h1.34v-.87c0-.91.24-1.61.73-2.1.48-.49,1.17-.74,2.05-.74.33,0,.66.04.99.13l-.08,1.17c-.25-.05-.5-.07-.78-.07-.47,0-.83.14-1.09.41-.25.27-.38.67-.38,1.18v.89h1.8v1.12h-1.8v7.34h-1.45Z"></path>
          <path d="M955.16,37.81c0-.23.07-.43.21-.59.14-.16.36-.24.64-.24s.5.08.64.24c.15.16.22.36.22.59s-.07.43-.22.59-.36.23-.64.23-.49-.08-.64-.23-.21-.35-.21-.59ZM956.72,48.51h-1.45v-8.45h1.45v8.45Z"></path>
          <path d="M960.6,48.51h-1.45v-12h1.45v12Z"></path>
          <path d="M966.42,48.66c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM966.24,41.08c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z"></path>
          <path d="M976.31,46.26c0-.39-.15-.69-.44-.91-.29-.22-.81-.4-1.54-.56s-1.31-.34-1.74-.56-.75-.48-.95-.78c-.21-.3-.31-.66-.31-1.08,0-.69.29-1.28.88-1.76.59-.48,1.33-.72,2.25-.72.96,0,1.74.25,2.33.74.6.5.89,1.13.89,1.9h-1.45c0-.4-.17-.74-.5-1.02-.34-.29-.76-.43-1.27-.43s-.94.11-1.23.34c-.3.23-.45.53-.45.9,0,.35.14.61.41.79.28.18.77.35,1.5.51.72.16,1.31.35,1.75.58.45.22.78.49,1,.81.22.32.32.7.32,1.15,0,.76-.3,1.36-.91,1.82-.6.46-1.39.68-2.35.68-.68,0-1.28-.12-1.8-.36s-.93-.57-1.22-1-.44-.89-.44-1.39h1.45c.03.48.22.87.58,1.15.36.28.84.43,1.43.43.55,0,.99-.11,1.32-.33.33-.22.5-.52.5-.89Z"></path>
          <path d="M979.65,37.81c0-.23.07-.43.21-.59.14-.16.36-.24.64-.24s.5.08.64.24c.15.16.22.36.22.59s-.07.43-.22.59-.36.23-.64.23-.49-.08-.64-.23-.21-.35-.21-.59ZM981.21,48.51h-1.45v-8.45h1.45v8.45Z"></path>
          <path d="M984.89,40.05l.05,1.06c.65-.81,1.49-1.22,2.53-1.22,1.79,0,2.69,1.01,2.7,3.02v5.59h-1.45v-5.59c0-.61-.14-1.06-.42-1.35-.27-.29-.7-.44-1.28-.44-.47,0-.88.12-1.23.38s-.63.58-.83.98v6.02h-1.45v-8.45h1.37Z"></path>
          <path d="M994.71,44.59l-.91.95v2.97h-1.45v-12h1.45v7.26l.77-.93,2.63-2.78h1.76l-3.29,3.53,3.67,4.92h-1.7l-2.95-3.91Z"></path>
        </g>
      </g>
      <g>
        <line x1="888.4" y1="45" x2="908.38" y2="45" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="907.36 48.49 913.4 45 907.36 41.51 907.36 48.49"></polygon>
      </g>
      <g>
        <line x1="226.07" y1="70.46" x2="226.07" y2="90.44" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="222.58 89.42 226.07 95.46 229.56 89.42 222.58 89.42"></polygon>
      </g>
      <g>
        <rect x="146.07" y="173.78" width="160" height="50" rx="4" ry="4" style="fill: #2a2aea;"></rect>
        <g>
          <path d="M192.63,197.99c0-1.33.3-2.38.91-3.15s1.43-1.16,2.45-1.16,1.79.34,2.37,1.01l.06-.85h1.33v11.7h-1.45v-4.03c-.58.62-1.36.94-2.33.94-1.02,0-1.83-.4-2.44-1.19-.61-.79-.91-1.85-.91-3.16v-.1ZM194.08,198.15c0,.97.2,1.73.61,2.28.41.55.96.83,1.65.83.86,0,1.52-.38,1.97-1.14v-4.14c-.46-.74-1.11-1.12-1.95-1.12-.7,0-1.25.28-1.66.83-.41.55-.62,1.37-.62,2.46Z" style="fill: #fff;"></path>
          <path d="M204.04,191.78v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M207.31,191.59c0-.23.07-.43.21-.59.14-.16.36-.24.64-.24s.49.08.64.24c.15.16.22.36.22.59s-.07.43-.22.59c-.15.16-.36.23-.64.23s-.49-.08-.64-.23c-.14-.16-.21-.35-.21-.59ZM208.87,202.28h-1.45v-8.45h1.45v8.45Z" style="fill: #fff;"></path>
          <path d="M212.54,193.83l.04.94c.62-.73,1.46-1.09,2.51-1.09,1.18,0,1.99.45,2.41,1.36.28-.41.65-.73,1.1-.98.45-.25.98-.38,1.6-.38,1.85,0,2.8.98,2.83,2.95v5.66h-1.45v-5.58c0-.6-.14-1.06-.41-1.36-.28-.3-.74-.45-1.39-.45-.54,0-.98.16-1.34.48-.35.32-.56.75-.62,1.29v5.61h-1.45v-5.54c0-1.23-.6-1.84-1.8-1.84-.95,0-1.6.4-1.95,1.21v6.17h-1.45v-8.45h1.37Z" style="fill: #fff;"></path>
          <path d="M226.78,202.28h-1.45v-12h1.45v12Z" style="fill: #fff;"></path>
          <path d="M231.05,191.78v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M235.03,202.28v-7.34h-1.34v-1.12h1.34v-.87c0-.91.24-1.61.73-2.1.48-.49,1.17-.74,2.05-.74.33,0,.66.04.99.13l-.08,1.17c-.25-.05-.51-.07-.78-.07-.47,0-.83.14-1.09.41-.26.27-.38.67-.38,1.18v.89h1.8v1.12h-1.8v7.34h-1.45Z" style="fill: #fff;"></path>
          <path d="M241.44,202.28h-1.45v-12h1.45v12Z" style="fill: #fff;"></path>
          <path d="M243.76,191.59c0-.23.07-.43.21-.59.14-.16.36-.24.64-.24s.49.08.64.24c.15.16.22.36.22.59s-.07.43-.22.59c-.15.16-.36.23-.64.23s-.49-.08-.64-.23c-.14-.16-.21-.35-.21-.59ZM245.33,202.28h-1.45v-8.45h1.45v8.45Z" style="fill: #fff;"></path>
          <path d="M249.6,191.78v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M256.37,202.44c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM256.19,194.86c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z" style="fill: #fff;"></path>
        </g>
      </g>
      <g>
        <line x1="226.07" y1="147.4" x2="226.07" y2="167.37" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="222.58 166.35 226.07 172.4 229.56 166.35 222.58 166.35"></polygon>
      </g>
      <g>
        <rect x="146.07" y="249.54" width="160" height="50" rx="4" ry="4" style="fill: #2a2aea;"></rect>
        <g>
          <path d="M155.87,273.75c0-1.33.3-2.38.91-3.15s1.43-1.16,2.45-1.16,1.79.34,2.37,1.01l.06-.85h1.33v11.7h-1.45v-4.03c-.58.62-1.36.94-2.33.94-1.02,0-1.83-.4-2.44-1.19-.61-.79-.91-1.85-.91-3.16v-.1ZM157.31,273.91c0,.97.2,1.73.61,2.28.41.55.96.83,1.65.83.86,0,1.52-.38,1.97-1.14v-4.14c-.46-.74-1.11-1.12-1.95-1.12-.7,0-1.25.28-1.66.83-.41.55-.62,1.37-.62,2.46Z" style="fill: #fff;"></path>
          <path d="M167.27,267.54v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M170.55,267.35c0-.23.07-.43.21-.59.14-.16.36-.24.64-.24s.49.08.64.24c.15.16.22.36.22.59s-.07.43-.22.59c-.15.16-.36.23-.64.23s-.49-.08-.64-.23c-.14-.16-.21-.35-.21-.59ZM172.11,278.04h-1.45v-8.45h1.45v8.45Z" style="fill: #fff;"></path>
          <path d="M175.78,269.59l.04.94c.62-.73,1.46-1.09,2.51-1.09,1.18,0,1.99.45,2.41,1.36.28-.41.65-.73,1.1-.98.45-.25.98-.38,1.6-.38,1.85,0,2.8.98,2.83,2.95v5.66h-1.45v-5.58c0-.6-.14-1.06-.41-1.36-.28-.3-.74-.45-1.39-.45-.54,0-.98.16-1.34.48-.35.32-.56.75-.62,1.29v5.61h-1.45v-5.54c0-1.23-.6-1.84-1.8-1.84-.95,0-1.6.4-1.95,1.21v6.17h-1.45v-8.45h1.37Z" style="fill: #fff;"></path>
          <path d="M190.02,278.04h-1.45v-12h1.45v12Z" style="fill: #fff;"></path>
          <path d="M195.12,276.08l2.09-6.49h1.48l-3.03,8.45h-1.1l-3.06-8.45h1.48l2.15,6.49Z" style="fill: #fff;"></path>
          <path d="M205,275.8c0-.39-.15-.69-.44-.91-.29-.22-.81-.4-1.54-.56-.73-.16-1.31-.34-1.74-.56s-.75-.48-.95-.78c-.21-.3-.31-.66-.31-1.08,0-.69.29-1.28.88-1.76.59-.48,1.33-.72,2.25-.72.96,0,1.74.25,2.33.74.6.5.89,1.13.89,1.9h-1.45c0-.4-.17-.74-.5-1.02-.34-.29-.76-.43-1.27-.43s-.94.11-1.23.34c-.3.23-.45.53-.45.9,0,.35.14.61.41.79.28.18.77.35,1.5.51.72.16,1.31.35,1.75.58.45.22.78.49,1,.81.22.32.32.7.32,1.15,0,.76-.3,1.36-.91,1.82-.6.46-1.39.68-2.35.68-.68,0-1.28-.12-1.8-.36-.52-.24-.93-.57-1.22-1-.29-.43-.44-.89-.44-1.39h1.45c.03.48.22.87.58,1.15.36.28.84.43,1.43.43.55,0,.99-.11,1.32-.33.33-.22.5-.52.5-.89Z" style="fill: #fff;"></path>
          <path d="M211.84,278.2c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM211.66,270.62c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z" style="fill: #fff;"></path>
          <path d="M216.46,273.75c0-1.32.3-2.37.91-3.14.61-.78,1.42-1.17,2.42-1.17s1.84.36,2.41,1.09l.07-.94h1.32v8.25c0,1.09-.32,1.96-.97,2.59-.65.63-1.52.95-2.61.95-.61,0-1.21-.13-1.79-.39-.58-.26-1.03-.62-1.34-1.07l.75-.87c.62.77,1.38,1.15,2.27,1.15.7,0,1.25-.2,1.64-.59.39-.4.59-.95.59-1.67v-.73c-.58.67-1.37,1-2.37,1s-1.79-.4-2.4-1.2c-.61-.8-.92-1.88-.92-3.26ZM217.92,273.91c0,.95.2,1.7.59,2.25.39.54.94.82,1.64.82.91,0,1.58-.41,2.01-1.24v-3.86c-.44-.81-1.11-1.21-1.99-1.21-.7,0-1.25.27-1.65.82-.4.55-.59,1.36-.59,2.43Z" style="fill: #fff;"></path>
          <path d="M227.14,269.59l.04.94c.62-.73,1.46-1.09,2.51-1.09,1.18,0,1.99.45,2.41,1.36.28-.41.65-.73,1.1-.98.45-.25.98-.38,1.6-.38,1.85,0,2.8.98,2.83,2.95v5.66h-1.45v-5.58c0-.6-.14-1.06-.41-1.36-.28-.3-.74-.45-1.39-.45-.54,0-.98.16-1.34.48-.35.32-.56.75-.62,1.29v5.61h-1.45v-5.54c0-1.23-.6-1.84-1.8-1.84-.95,0-1.6.4-1.95,1.21v6.17h-1.45v-8.45h1.37Z" style="fill: #fff;"></path>
          <path d="M243.31,278.2c-1.15,0-2.08-.38-2.8-1.13-.72-.75-1.08-1.76-1.08-3.02v-.27c0-.84.16-1.59.48-2.25.32-.66.77-1.17,1.34-1.55.58-.37,1.2-.56,1.87-.56,1.1,0,1.95.36,2.56,1.09.61.72.91,1.76.91,3.11v.6h-5.73c.02.83.26,1.51.73,2.02.47.51,1.06.77,1.78.77.51,0,.94-.1,1.3-.31.35-.21.66-.48.93-.83l.88.69c-.71,1.09-1.77,1.63-3.19,1.63ZM243.13,270.62c-.58,0-1.07.21-1.47.64-.4.42-.64,1.02-.73,1.79h4.23v-.11c-.04-.73-.24-1.3-.59-1.71-.35-.4-.83-.61-1.44-.61Z" style="fill: #fff;"></path>
          <path d="M249.65,269.59l.05,1.06c.65-.81,1.49-1.22,2.53-1.22,1.79,0,2.69,1.01,2.7,3.02v5.59h-1.45v-5.59c0-.61-.14-1.06-.42-1.35-.27-.29-.7-.44-1.28-.44-.47,0-.88.12-1.23.38-.35.25-.63.58-.83.98v6.02h-1.45v-8.45h1.37Z" style="fill: #fff;"></path>
          <path d="M259.07,267.54v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M267.56,278.04c-.08-.17-.15-.46-.2-.89-.67.7-1.47,1.05-2.41,1.05-.83,0-1.52-.24-2.05-.71-.53-.47-.8-1.07-.8-1.79,0-.88.33-1.56,1-2.05.67-.49,1.61-.73,2.82-.73h1.41v-.66c0-.5-.15-.91-.45-1.21-.3-.3-.75-.45-1.34-.45-.52,0-.95.13-1.3.39-.35.26-.52.58-.52.95h-1.45c0-.42.15-.83.45-1.22.3-.39.71-.7,1.22-.93.51-.23,1.08-.34,1.69-.34.97,0,1.74.24,2.29.73.55.49.84,1.16.86,2.01v3.89c0,.78.1,1.39.3,1.85v.12h-1.52ZM265.16,276.94c.45,0,.88-.12,1.29-.35s.7-.54.88-.91v-1.73h-1.13c-1.77,0-2.66.52-2.66,1.55,0,.45.15.81.45,1.06.3.26.69.38,1.16.38Z" style="fill: #fff;"></path>
          <path d="M273,267.54v2.05h1.58v1.12h-1.58v5.25c0,.34.07.59.21.76.14.17.38.25.72.25.17,0,.4-.03.69-.09v1.17c-.38.1-.75.16-1.11.16-.65,0-1.13-.2-1.46-.59s-.49-.95-.49-1.66v-5.24h-1.54v-1.12h1.54v-2.05h1.45Z" style="fill: #fff;"></path>
          <path d="M276.27,267.35c0-.23.07-.43.21-.59.14-.16.36-.24.64-.24s.49.08.64.24c.15.16.22.36.22.59s-.07.43-.22.59c-.15.16-.36.23-.64.23s-.49-.08-.64-.23c-.14-.16-.21-.35-.21-.59ZM277.84,278.04h-1.45v-8.45h1.45v8.45Z" style="fill: #fff;"></path>
          <path d="M279.77,273.74c0-.83.16-1.57.49-2.23.33-.66.78-1.17,1.36-1.53.58-.36,1.24-.54,1.99-.54,1.15,0,2.08.4,2.79,1.2s1.07,1.86,1.07,3.18v.1c0,.82-.16,1.56-.47,2.21-.32.65-.77,1.16-1.35,1.53-.59.36-1.26.55-2.02.55-1.15,0-2.07-.4-2.79-1.2s-1.07-1.85-1.07-3.16v-.1ZM281.22,273.91c0,.94.22,1.69.65,2.26.43.57,1.02.85,1.75.85s1.32-.29,1.75-.86c.43-.58.65-1.38.65-2.42,0-.93-.22-1.68-.66-2.25-.44-.58-1.02-.86-1.75-.86s-1.29.28-1.73.85c-.44.57-.66,1.38-.66,2.44Z" style="fill: #fff;"></path>
          <path d="M290.64,269.59l.05,1.06c.65-.81,1.49-1.22,2.53-1.22,1.79,0,2.69,1.01,2.7,3.02v5.59h-1.45v-5.59c0-.61-.14-1.06-.42-1.35-.27-.29-.7-.44-1.28-.44-.47,0-.88.12-1.23.38-.35.25-.63.58-.83.98v6.02h-1.45v-8.45h1.37Z" style="fill: #fff;"></path>
        </g>
      </g>
      <g>
        <line x1="226.07" y1="223.78" x2="226.07" y2="243.75" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></line>
        <polygon points="222.58 242.73 226.07 248.78 229.56 242.73 222.58 242.73"></polygon>
      </g>
      <g>
        <polyline points="306.07 274.54 382.06 274.54 382.06 75.48" style="fill: none; stroke: #000; stroke-miterlimit: 10;"></polyline>
        <polygon points="385.56 76.51 382.06 70.46 378.57 76.51 385.56 76.51"></polygon>
      </g>
    </g>
  </g>
</svg>

The following table provides the sequential processing stages of the pipeline
            execution:

| Process | Description |
| --- | --- |
| [qtiqmmfsrc](https://docs.qualcomm.com/doc/80-70020-50/topic/qtiqmmfsrc.html) | <ol class="ol" id="single-camera-stream-with-image-segmentation-and-encode__ol_f5k_g5n_vbc"><br>                                <li class="li">Collects the video stream (source) and creates two copies of the<br>                                        source:<ul class="ul" id="single-camera-stream-with-image-segmentation-and-encode__ul_n44_nwl_vbc"><br>                                        <li class="li">One stream is sent to the qtivcomposer plugin to retain<br>                                            the video stream.</li><br><br>                                        <li class="li">The other stream is sent to an ML inferencing branch in<br>                                            the pipeline.</li><br><br>                                    </ul><br></li><br><br>                            </ol> |
| **Preprocessing** | **Preprocessing** |
| [qtimlvconverter](https://docs.qualcomm.com/doc/80-70020-50/topic/qtimlvconverter.html) | <ol class="ol" id="single-camera-stream-with-image-segmentation-and-encode__ol_xsf_q5l_vbc"><br>                                <li class="li">Receives the video stream on its sink pad.</li><br><br>                                <li class="li">Performs preprocessing:<ul class="ul" id="single-camera-stream-with-image-segmentation-and-encode__ul_ff2_twl_vbc"><br>                                        <li class="li">Color conversion</li><br><br>                                        <li class="li">Scaling down/up</li><br><br>                                        <li class="li">Normalization on the stream data when the model expects<br>                                            the floating point values as an input</li><br><br>                                    </ul><br></li><br><br>                                <li class="li">Converts the video stream to a tensor stream on its source<br>                                        pad.<p class="p">The segmentation model uses this tensor stream for<br>                                        inferencing.</p><br></li><br><br>                            </ol> |
| **Inferencing** | **Inferencing** |
| [qtimltflite](https://docs.qualcomm.com/doc/80-70020-50/topic/qtimltflite.html) | <ol class="ol" id="single-camera-stream-with-image-segmentation-and-encode__ol_lfr_35n_vbc"><br>                                <li class="li">Loads the segmentation model.</li><br><br>                                <li class="li">Modifies the graph for the chosen delegate.</li><br><br>                                <li class="li">Receives the tensor stream on its sinkpad.</li><br><br>                                <li class="li">Runs the inference and produces a tensor stream with the<br>                                    segmentation results on its source pad.</li><br><br>                            </ol> |
| **Postprocessing** | **Postprocessing** |
| [qtimlvsegmentation](https://docs.qualcomm.com/doc/80-70020-50/topic/qtimlvsegmentation.html) | <ol class="ol" id="single-camera-stream-with-image-segmentation-and-encode__ol_mtr_k5n_vbc"><br>                                <li class="li">Receives the inference tensors on its sinkpad.</li><br><br>                                <li class="li">Converts the inference tensors into video formats that the<br>                                    multimedia plugins can process later.</li><br><br>                                <li class="li">Produces the semantic segmentations for the frame.</li><br><br>                                <li class="li">Loads the corresponding modules for the segmentation<br>                                        models.<p class="p">In this use case, qtimlvsegmentation does the<br>                                        following: </p><ol class="ol" type="a" id="single-camera-stream-with-image-segmentation-and-encode__ol_ntr_k5n_vbc"><br>                                        <li class="li">Loads the deeplab-argmax submodule.</li><br><br>                                        <li class="li">Produces video frames with segmentation masks.</li><br><br>                                        <li class="li">Sends them to the sinkpad of qtivcomposer.</li><br><br>                                    </ol><br><br>                                </li><br><br>                            </ol> |
| [qtivcomposer](https://docs.qualcomm.com/doc/80-70020-50/topic/qtivcomposer.html) | <ol class="ol" id="single-camera-stream-with-image-segmentation-and-encode__ol_nmc_lxl_vbc"><br>                                <li class="li">Receives the original video stream with segmentation mask on its<br>                                    sinkpads. </li><br><br>                                <li class="li">Produces on its sourcepad GST buffers with contents composed of<br>                                    video streams from its sinkpads.</li><br><br>                            </ol> |
| [v4l2h264enc](https://docs.qualcomm.com/doc/80-70020-50/topic/v4l2h264enc.html) | <ol class="ol" id="single-camera-stream-with-image-segmentation-and-encode__ol_wsc_bsn_vbc"><br>                                <li class="li">Applies parameters to each frame of the video stream it's<br>                                    receiving on its sinkpad.</li><br><br>                                <li class="li">Encodes it into bit stream and sends it over its sourcepad.</li><br><br>                            </ol> |
| h264parse | Adds more information about the bit stream to the GStreamer buffer<br>                            meta. |
| mp4mux | Receives these buffers and creates the container format specification<br>                            buffers. |
| **Output** | **Output** |
| Filesink | Stores the resulting stream in a<br>                                /etc/media/video.mp4 file. |
| Playback | Pull video.mp4 from the host computer and play<br>                            it on a media player:<br>`scp root@<IP address of target<br>                                    device>:/etc/ <destination directory>` |

**Parent Topic:** [LiteRT use cases](https://docs.qualcomm.com/doc/80-70020-50/topic/tensorflow-lite-use-cases.html)

Last Published: Jan 30, 2026

[Previous Topic
Image segmentation and display with LiteRT](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/single-camera-stream-with-image-segmentation-and-display.md) [Next Topic
Pose estimation and display with LiteRT](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/single-camera-stream-with-pose-estimation-and-display.md)