# Semantic segmentation

Source: [https://docs.qualcomm.com/doc/80-70014-15B/topic/semantic-segmentation.html](https://docs.qualcomm.com/doc/80-70014-15B/topic/semantic-segmentation.html)

Before executing the pipeline command for a model,
            make sure to follow the required [prerequisites](https://docs.qualcomm.com/doc/80-70014-15B/topic/ai-hub-imsdk.html#ai_hub_imsdk__aihub-imsdk-prereq)

## DeepLabV3-Plus\_MobileNet-Quantized

    gst-launch-1.0 -e --gst-debug=2 \
    qtiqmmfsrc name=camsrc ! video/x-raw\(memory:GBM\),format=NV12,width=1280,height=720,framerate=30/1,compression=ubwc ! queue ! tee name=split \
    split. ! queue ! qtivcomposer name=mixer sink_1::alpha=0.5 ! queue ! waylandsink sync=false fullscreen=true \
    split. ! queue ! qtimlvconverter  ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so \
    external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/opt/deeplabv3_plus_mobilenet_quantized.tflite ! queue ! \
    qtimlvsegmentation module=deeplab-argmax labels=/opt/voc_labels.txt \
    constants="deeplab,q-offsets=<-61.0>,q-scales=<0.06232302635908127>;" ! video/x-raw,format=BGRA,width=256,height=144 ! queue ! mixer.Copy to clipboard

## FCN-Resnet50-Quantized

    gst-launch-1.0 -e --gst-debug=2 \
    qtiqmmfsrc name=camsrc ! video/x-raw\(memory:GBM\),format=NV12,width=1280,height=720,framerate=30/1,compression=ubwc ! queue ! tee name=split \
    split. ! queue ! qtivcomposer name=mixer sink_1::alpha=0.5 ! queue ! waylandsink sync=false fullscreen=true \
    split. ! queue ! qtimlvconverter  ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so \
    external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/opt/fcn_resnet50_quantized.tflite ! queue ! \
    qtimlvsegmentation module=deeplab-argmax labels=/opt/voc_labels.txt \
    constants="fcnresnet,q-offsets=<-58.0>,q-scales=<0.08319790661334991>;" ! video/x-raw,format=BGRA,width=256,height=144 ! queue ! mixer.Copy to clipboard

## FFNet-40S-Quantized

    gst-launch-1.0 -e --gst-debug=2 \
    qtiqmmfsrc name=camsrc ! video/x-raw\(memory:GBM\),format=NV12,width=1280,height=720,framerate=30/1,compression=ubwc ! queue ! tee name=split \
    split. ! queue ! qtivcomposer name=mixer sink_1::alpha=0.5 ! queue ! waylandsink sync=false fullscreen=true \
    split. ! queue ! qtimlvconverter  ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so \
    external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/opt/ffnet_40s_quantized.tflite ! queue ! \
    qtimlvsegmentation module=deeplab-argmax labels=/opt/voc_labels.txt \
    constants="ffnet,q-offsets=<50.0>,q-scales=<0.31378185749053955>;" ! video/x-raw,format=BGRA,width=256,height=144 ! queue ! mixer.Copy to clipboard

## FFNet-54S-Quantized

    gst-launch-1.0 -e --gst-debug=2 \
    qtiqmmfsrc name=camsrc ! video/x-raw\(memory:GBM\),format=NV12,width=1280,height=720,framerate=30/1,compression=ubwc ! queue ! tee name=split \
    split. ! queue ! qtivcomposer name=mixer sink_1::alpha=0.5 ! queue ! waylandsink sync=false fullscreen=true \
    split. ! queue ! qtimlvconverter  ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so \
    external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/opt/ffnet_54s_quantized.tflite ! queue ! \
    qtimlvsegmentation module=deeplab-argmax labels=/opt/voc_labels.txt \
    constants="ffnet,q-offsets=<50.0>,q-scales=<0.2929433584213257>;" ! video/x-raw,format=BGRA,width=256,height=144 ! queue ! mixer.Copy to clipboard

## FFNet-78S-Quantized

    gst-launch-1.0 -e --gst-debug=2 \
    qtiqmmfsrc name=camsrc ! video/x-raw\(memory:GBM\),format=NV12,width=1280,height=720,framerate=30/1,compression=ubwc ! queue ! tee name=split \
    split. ! queue ! qtivcomposer name=mixer sink_1::alpha=0.5 ! queue ! waylandsink sync=false fullscreen=true \
    split. ! queue ! qtimlvconverter  ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so \
    external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/opt/ffnet_78s_quantized.tflite ! queue ! \
    qtimlvsegmentation module=deeplab-argmax labels=/opt/voc_labels.txt \
    constants="ffnet,q-offsets=<43.0>,q-scales=<0.3849360942840576>;" ! video/x-raw,format=BGRA,width=256,height=144 ! queue ! mixer.Copy to clipboard

Last Published: Jan 21, 2026

[Previous Topic
Object detection](https://docs.qualcomm.com/bundle/publicresource/80-70014-15B/topics/object-detection.md) [Next Topic
Super resolution](https://docs.qualcomm.com/bundle/publicresource/80-70014-15B/topics/super-resolution.md)