Go to the source code of this file.
Functions | |
gboolean | gst_nvinfer_parse_config_file (GstNvInfer *nvinfer, NvDsInferContextInitParams *init_params, const gchar *cfg_file_path) |
gboolean | gst_nvinfer_parse_context_params (NvDsInferContextInitParams *params, const gchar *cfg_file_path) |
#define CONFIG_GROUP_INFER_AUTO_INCREASE_MEMORY "auto-inc-mem" |
Definition at line 45 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_BATCH_SIZE "batch-size" |
Runtime engine parameters.
Definition at line 60 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_BG_COLOR "bg-color" |
Definition at line 161 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_BORDER_COLOR "border-color" |
Definition at line 160 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_DBSCAN_MIN_SCORE "dbscan-min-score" |
Definition at line 153 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_DETECTED_MAX_HEIGHT "detected-max-h" |
Definition at line 159 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_DETECTED_MAX_WIDTH "detected-max-w" |
Definition at line 158 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_DETECTED_MIN_HEIGHT "detected-min-h" |
Definition at line 157 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_DETECTED_MIN_WIDTH "detected-min-w" |
Definition at line 156 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_EPS "eps" |
Definition at line 150 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_GROUP_THRESHOLD "group-threshold" |
Definition at line 151 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_MIN_BOXES "minBoxes" |
Definition at line 152 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_NMS_IOU_THRESHOLD "nms-iou-threshold" |
Definition at line 162 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_POST_CLUSTER_THRESHOLD "post-cluster-threshold" |
Definition at line 149 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_PRE_CLUSTER_THRESHOLD "pre-cluster-threshold" |
Definition at line 148 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_PREFIX "class-attrs-" |
Per-class detection/filtering parameters.
Definition at line 146 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_ROI_BOTTOM_OFFSET "roi-bottom-offset" |
Definition at line 155 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_ROI_TOP_OFFSET "roi-top-offset" |
Definition at line 154 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_THRESHOLD "threshold" |
Definition at line 147 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_ATTRS_TOP_K "topk" |
Definition at line 163 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_IDS_FOR_FILTERING "filter-out-class-ids" |
Definition at line 143 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASS_IDS_FOR_OPERATION "operate-on-class-ids" |
Definition at line 142 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASSIFIER_ASYNC_MODE "classifier-async-mode" |
Definition at line 123 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASSIFIER_THRESHOLD "classifier-threshold" |
Definition at line 122 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLASSIFIER_TYPE "classifier-type" |
Classifier specific parameters.
Definition at line 121 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CLUSTER_MODE "cluster-mode" |
Definition at line 117 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CROP_OBJECTS_TO_ROI_BOUNDARY "crop-objects-to-roi-boundary" |
Definition at line 118 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CUSTOM_ENGINE_CREATE_FUNC "engine-create-func-name" |
Definition at line 92 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CUSTOM_LIB_PATH "custom-lib-path" |
Custom implementation required to support a network.
Definition at line 89 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CUSTOM_NETWORK_CONFIG "custom-network-config" |
Definition at line 94 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CUSTOM_PARSE_BBOX_FUNC "parse-bbox-func-name" |
Definition at line 90 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CUSTOM_PARSE_BBOX_IM_FUNC "parse-bbox-instance-mask-func-name" |
Definition at line 91 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_CUSTOM_PARSE_CLASSIFIER_FUNC "parse-classifier-func-name" |
Definition at line 93 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_DISABLE_OUTPUT_HOST_COPY "disable-output-host-copy" |
Definition at line 43 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_DUMP_INPUT_TENSOR "dump-input-tensor" |
Definition at line 51 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_DUMP_OUTPUT_TENSOR "dump-output-tensor" |
Definition at line 52 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_ENABLE_DBSCAN "enable-dbscan" |
Definition at line 116 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_ENABLE_DLA "enable-dla" |
Definition at line 48 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_FORCE_IMPLICIT_BATCH_DIM "force-implicit-batch-dim" |
Definition at line 71 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_GIE_ID_FOR_OPERATION "operate-on-gie-id" |
Parameters for filtering objects based on class-id and unique id of the detector when operating in secondary mode.
Definition at line 141 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_GPU_ID "gpu-id" |
Definition at line 39 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INFER_DIMENSIONS "infer-dims" |
Definition at line 72 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INPUT_FROM_META "input-tensor-from-meta" |
Definition at line 86 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INPUT_OBJECT_MAX_HEIGHT "input-object-max-height" |
Definition at line 137 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INPUT_OBJECT_MAX_WIDTH "input-object-max-width" |
Definition at line 136 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INPUT_OBJECT_MIN_HEIGHT "input-object-min-height" |
Definition at line 135 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INPUT_OBJECT_MIN_WIDTH "input-object-min-width" |
Parameters for filtering objects based min/max size threshold when operating in secondary mode.
Definition at line 134 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INPUT_TENSOR_FILE "ip-tensor-file" |
Definition at line 55 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INT8_CALIBRATION_FILE "int8-calib-file" |
Definition at line 64 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_INTERVAL "interval" |
Definition at line 37 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_IS_CLASSIFIER_LEGACY "is-classifier" |
Definition at line 69 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_LABEL "labelfile-path" |
Definition at line 38 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_LAYER_DEVICE_PRECISION "layer-device-precision" |
Definition at line 74 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_MAINTAIN_ASPECT_RATIO "maintain-aspect-ratio" |
Definition at line 81 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_MAX_GPU_MEMORY_PERCENTAGE "max-gpu-mem-per" |
Definition at line 46 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_MEANFILE "mean-file" |
Definition at line 80 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_MODEL "model-file" |
Caffe model specific parameters.
Definition at line 97 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_MODEL_COLOR_FORMAT "model-color-format" |
Preprocessing parameters.
Definition at line 77 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_MODEL_ENGINE "model-engine-file" |
Definition at line 63 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_NET_INPUT_ORDER "network-input-order" |
Definition at line 85 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_NETWORK_MODE "network-mode" |
Definition at line 62 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_NETWORK_TYPE "network-type" |
Definition at line 70 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_NUM_DETECTED_CLASSES "num-detected-classes" |
Detector specific parameters.
Definition at line 115 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_OFFSETS "offsets" |
Definition at line 79 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_ONNX "onnx-file" |
ONNX model specific parameters.
Definition at line 112 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_OUTPUT_BLOB_NAMES "output-blob-names" |
Generic model parameters.
Definition at line 68 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_OUTPUT_INSTANCE_MASK "output-instance-mask" |
Instance Segmentaion specific parameters.
Definition at line 130 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_OUTPUT_IO_FORMATS "output-io-formats" |
Definition at line 73 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_OUTPUT_TENSOR_FILES "op-tensor-files" |
Definition at line 56 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_OUTPUT_TENSOR_META "output-tensor-meta" |
Definition at line 41 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_OVERWRITE_INPUT_TENSOR "overwrite-input-tensor" |
Definition at line 53 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_OVERWRITE_OUTPUT_TENSOR "overwrite-output-tensor" |
Definition at line 54 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_PARSE_FUNC "parse-func" |
Definition at line 32 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_PROCESS_MODE "process-mode" |
Definition at line 36 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_PROTO "proto-file" |
Definition at line 98 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_RAW_OUTPUT_FILE_WRITE "raw-output-file-write" |
Definition at line 57 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_SCALE_FACTOR "net-scale-factor" |
Definition at line 78 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_SCALING_COMPUTE_HW "scaling-compute-hw" |
Definition at line 84 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_SCALING_FILTER "scaling-filter" |
Definition at line 83 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_SECONDARY_REINFER_INTERVAL "secondary-reinfer-interval" |
Definition at line 40 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_SEGMENTATION_OUTPUT_ORDER "segmentation-output-order" |
Definition at line 127 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_SEGMENTATION_THRESHOLD "segmentation-threshold" |
Segmentaion specific parameters.
Definition at line 126 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_SYMMETRIC_PADDING "symmetric-padding" |
Definition at line 82 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_TENSOR_META_POOL_SIZE "tensor-meta-pool-size" |
Definition at line 61 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_TLT_ENCODED_MODEL "tlt-encoded-model" |
TLT model parameters.
Definition at line 108 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_TLT_MODEL_KEY "tlt-model-key" |
Definition at line 109 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_UFF "uff-file" |
UFF model specific parameters.
Definition at line 101 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_UFF_INPUT_BLOB_NAME "uff-input-blob-name" |
Definition at line 105 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_UFF_INPUT_DIMENSIONS_LEGACY "input-dims" |
Definition at line 103 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_UFF_INPUT_DIMENSIONS_LEGACY_V2 "uff-input-dims" |
Definition at line 104 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_UFF_INPUT_ORDER "uff-input-order" |
Definition at line 102 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_UNIQUE_ID "gie-unique-id" |
Gstreamer element configuration.
Definition at line 35 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_USE_DLA_CORE "use-dla-core" |
Definition at line 49 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_INFER_WORKSPACE_SIZE "workspace-size" |
Definition at line 65 of file gstnvinfer_property_parser.h.
#define CONFIG_GROUP_PROPERTY "property" |
Definition at line 30 of file gstnvinfer_property_parser.h.
#define DEFAULT_DBSCAN_MIN_SCORE 0 |
Definition at line 26 of file gstnvinfer_property_parser.h.
#define DEFAULT_EPS 0.0 |
Definition at line 23 of file gstnvinfer_property_parser.h.
#define DEFAULT_GROUP_THRESHOLD 0 |
Definition at line 24 of file gstnvinfer_property_parser.h.
#define DEFAULT_MIN_BOXES 0 |
Definition at line 25 of file gstnvinfer_property_parser.h.
#define DEFAULT_NMS_IOU_THRESHOLD 0.3 |
Definition at line 27 of file gstnvinfer_property_parser.h.
#define DEFAULT_POST_CLUSTER_THRESHOLD 0.0 |
Definition at line 22 of file gstnvinfer_property_parser.h.
#define DEFAULT_PRE_CLUSTER_THRESHOLD 0.2 |
Definition at line 21 of file gstnvinfer_property_parser.h.
#define DEFAULT_TOP_K -1 |
Definition at line 28 of file gstnvinfer_property_parser.h.
gboolean gst_nvinfer_parse_config_file | ( | GstNvInfer * | nvinfer, |
NvDsInferContextInitParams * | init_params, | ||
const gchar * | cfg_file_path | ||
) |
gboolean gst_nvinfer_parse_context_params | ( | NvDsInferContextInitParams * | params, |
const gchar * | cfg_file_path | ||
) |