Jetson Inference
DNN Vision Library

Semantic segmentation DNN (FCN or Fully-Convolutional Networks) More...

Classes

class  segNet
 Image segmentation with FCN-Alexnet or custom models, using TensorRT. More...
 

Macros

#define SEGNET_DEFAULT_INPUT   "data"
 Name of default input blob for segmentation model. More...
 
#define SEGNET_DEFAULT_OUTPUT   "score_fr_21classes"
 Name of default output blob for segmentation model. More...
 
#define SEGNET_DEFAULT_ALPHA   150
 Default alpha blending value used during overlay. More...
 
#define SEGNET_USAGE_STRING
 Standard command-line options able to be passed to segNet::Create() More...
 

Detailed Description

Semantic segmentation DNN (FCN or Fully-Convolutional Networks)

Macro Definition Documentation

◆ SEGNET_DEFAULT_ALPHA

#define SEGNET_DEFAULT_ALPHA   150

Default alpha blending value used during overlay.

◆ SEGNET_DEFAULT_INPUT

#define SEGNET_DEFAULT_INPUT   "data"

Name of default input blob for segmentation model.

◆ SEGNET_DEFAULT_OUTPUT

#define SEGNET_DEFAULT_OUTPUT   "score_fr_21classes"

Name of default output blob for segmentation model.

◆ SEGNET_USAGE_STRING

#define SEGNET_USAGE_STRING
Value:
"segNet arguments: \n" \
" --network=NETWORK pre-trained model to load, one of the following:\n" \
" * fcn-resnet18-cityscapes-512x256\n" \
" * fcn-resnet18-cityscapes-1024x512\n" \
" * fcn-resnet18-cityscapes-2048x1024\n" \
" * fcn-resnet18-deepscene-576x320\n" \
" * fcn-resnet18-deepscene-864x480\n" \
" * fcn-resnet18-mhp-512x320\n" \
" * fcn-resnet18-mhp-640x360\n" \
" * fcn-resnet18-voc-320x320 (default)\n" \
" * fcn-resnet18-voc-512x320\n" \
" * fcn-resnet18-sun-512x400\n" \
" * fcn-resnet18-sun-640x512\n" \
" --model=MODEL path to custom model to load (caffemodel, uff, or onnx)\n" \
" --prototxt=PROTOTXT path to custom prototxt to load (for .caffemodel only)\n" \
" --labels=LABELS path to text file containing the labels for each class\n" \
" --colors=COLORS path to text file containing the colors for each class\n" \
" --input-blob=INPUT name of the input layer (default: '" SEGNET_DEFAULT_INPUT "')\n" \
" --output-blob=OUTPUT name of the output layer (default: '" SEGNET_DEFAULT_OUTPUT "')\n" \
" --batch-size=BATCH maximum batch size (default is 1)\n" \
" --alpha=ALPHA overlay alpha blending value, range 0-255 (default: 150)\n" \
" --visualize=VISUAL visualization flags (e.g. --visualize=overlay,mask)\n" \
" valid combinations are: 'overlay', 'mask'\n" \
" --profile enable layer profiling in TensorRT\n\n"
#define SEGNET_DEFAULT_INPUT
Name of default input blob for segmentation model.
Definition: segNet.h:34
#define SEGNET_DEFAULT_OUTPUT
Name of default output blob for segmentation model.
Definition: segNet.h:40

Standard command-line options able to be passed to segNet::Create()