Skip to main content

Node groups

Higher-level recipes composed of multiple nodes. More...

Classes Index

structImageInputGroupOptions

Configuration for ImageInputGroup. More...

structInferOptions

Tunables for the preprocess and combined-infer groups. More...

structRtspDecodedInputOptions

Configuration for RtspDecodedInput. More...

structUdpH264OutputGroupOptions

Configuration for UdpH264OutputGroup. More...

structUdpOutputGroupGOptions

Configuration for UdpOutputGroupG. More...

structVideoInputGroupOptions

Configuration for VideoInputGroup. More...

Functions Index

OutputSpecImageInputGroupOutputSpec (const ImageInputGroupOptions &opt)

Project an ImageInputGroupOptions into the OutputSpec the group will advertise. More...

OutputSpecRtspDecodedInputOutputSpec (const RtspDecodedInputOptions &opt)

Project an RtspDecodedInputOptions into the OutputSpec the group will advertise. More...

OutputSpecVideoInputGroupOutputSpec (const VideoInputGroupOptions &opt)

Project a VideoInputGroupOptions into the OutputSpec the group will advertise. More...

simaai::neat::NodeGroupImageInputGroup (const ImageInputGroupOptions &opt)

Build an image-input NodeGroup: file source, decoder, and imagefreeze to a video stream. More...

simaai::neat::NodeGrouppreprocessing (const std::string &tar_gz, const InferOptions &opt={})

Build the preprocess NodeGroup for a model, given an MPK tarball path. More...

simaai::neat::NodeGroupsimple_infer (const std::string &tar_gz)

Build a single-stage MLA-inference NodeGroup from an MPK tarball, with default options. More...

simaai::neat::NodeGrouppostprocessing (const std::string &tar_gz)

Build the postprocess NodeGroup for a model, given an MPK tarball path. More...

simaai::neat::NodeGroupinfer (const std::string &tar_gz)

Build the full preprocess + MLA + postprocess NodeGroup from an MPK tarball. More...

simaai::neat::NodeGroupinfer (const std::string &tar_gz, const InferOptions &opt)

Build the full preprocess + MLA + postprocess NodeGroup with explicit options. More...

simaai::neat::NodeGroupPreprocess (const simaai::neat::Model &model)

Build the preprocess NodeGroup from an already-parsed Model. More...

simaai::neat::NodeGroupMLA (const simaai::neat::Model &model)

Build the MLA-inference NodeGroup from an already-parsed Model. More...

simaai::neat::NodeGroupPostprocess (const simaai::neat::Model &model)

Build the postprocess NodeGroup from an already-parsed Model. More...

simaai::neat::NodeGroupInfer (const simaai::neat::Model &model)

Build the full preprocess + MLA + postprocess NodeGroup from an already-parsed Model. More...

simaai::neat::NodeGroupRtspDecodedInput (const RtspDecodedInputOptions &opt)

Build the live-RTSP input NodeGroup: source, depayload+parse, hardware H.264 decode. More...

simaai::neat::NodeGroupUdpH264OutputGroup (const UdpH264OutputGroupOptions &opt)

Build a NodeGroup that H.264-encodes, RTP-packetizes, and sends frames over UDP. More...

simaai::neat::NodeGroupUdpOutputGroupG (const UdpOutputGroupGOptions &opt)

Build a NodeGroup that renders, encodes, and sends frames over UDP. More...

simaai::neat::NodeGroupVideoInputGroup (const VideoInputGroupOptions &opt)

Build the video-file input NodeGroup: file source, demux, H.264 parse, hardware decode. More...

Description

Higher-level recipes composed of multiple nodes.

Functions

ImageInputGroup()

simaai::neat::NodeGroup simaai::neat::nodes::groups::ImageInputGroup (const ImageInputGroupOptions & opt)

Build an image-input NodeGroup: file source, decoder, and imagefreeze to a video stream.

Typical chain: FileInput -> image decoder (decodebin / jpegdec / pngdec / SiMa decoder) -> optional videoconvert/videorate/videoscale -> imagefreeze with the configured output caps. Use this when a Session should be driven by a single still image rather than a live or file-based video source.

Parameters
opt

Configuration controlling source path, decoder backend, and output caps.

Returns

The configured NodeGroup ready to be add()ed to a Session.

See Also

VideoInputGroup

See Also

RtspDecodedInput

Definition at line 100 of file ImageInputGroup.h.

ImageInputGroupOutputSpec()

OutputSpec simaai::neat::nodes::groups::ImageInputGroupOutputSpec (const ImageInputGroupOptions & opt)

Project an ImageInputGroupOptions into the OutputSpec the group will advertise.

Parameters
opt

Image-input group options (path, decoder, output caps).

Returns

Negotiated downstream caps for this configuration.

Definition at line 30 of file GroupOutputSpec.h.

infer()

simaai::neat::NodeGroup simaai::neat::nodes::groups::infer (const std::string & tar_gz)

Build the full preprocess + MLA + postprocess NodeGroup from an MPK tarball.

Parameters
tar_gz

Path to the model .tar.gz.

Definition at line 81 of file ModelGroups.h.

infer()

simaai::neat::NodeGroup simaai::neat::nodes::groups::infer (const std::string & tar_gz, const InferOptions & opt)

Build the full preprocess + MLA + postprocess NodeGroup with explicit options.

Parameters
tar_gz

Path to the model .tar.gz.

opt

Preprocess tunables propagated into the chain.

Definition at line 89 of file ModelGroups.h.

Infer()

simaai::neat::NodeGroup simaai::neat::nodes::groups::Infer (const simaai::neat::Model & model)

Build the full preprocess + MLA + postprocess NodeGroup from an already-parsed Model.

Parameters
model

The parsed model (used by Model::session()).

Definition at line 117 of file ModelGroups.h.

MLA()

simaai::neat::NodeGroup simaai::neat::nodes::groups::MLA (const simaai::neat::Model & model)

Build the MLA-inference NodeGroup from an already-parsed Model.

Parameters
model

The parsed model (used by Model::session()).

Definition at line 103 of file ModelGroups.h.

Postprocess()

simaai::neat::NodeGroup simaai::neat::nodes::groups::Postprocess (const simaai::neat::Model & model)

Build the postprocess NodeGroup from an already-parsed Model.

Parameters
model

The parsed model (used by Model::session()).

Definition at line 110 of file ModelGroups.h.

postprocessing()

simaai::neat::NodeGroup simaai::neat::nodes::groups::postprocessing (const std::string & tar_gz)

Build the postprocess NodeGroup for a model, given an MPK tarball path.

Parameters
tar_gz

Path to the model .tar.gz.

Definition at line 74 of file ModelGroups.h.

Preprocess()

simaai::neat::NodeGroup simaai::neat::nodes::groups::Preprocess (const simaai::neat::Model & model)

Build the preprocess NodeGroup from an already-parsed Model.

Parameters
model

The parsed model (used by Model::session()).

Definition at line 96 of file ModelGroups.h.

preprocessing()

simaai::neat::NodeGroup simaai::neat::nodes::groups::preprocessing (const std::string & tar_gz, const InferOptions & opt={})

Build the preprocess NodeGroup for a model, given an MPK tarball path.

Parameters
tar_gz

Path to the model .tar.gz.

opt

Preprocess tunables (color format, normalization, queueing).

Definition at line 60 of file ModelGroups.h.

RtspDecodedInput()

simaai::neat::NodeGroup simaai::neat::nodes::groups::RtspDecodedInput (const RtspDecodedInputOptions & opt)

Build the live-RTSP input NodeGroup: source, depayload+parse, hardware H.264 decode.

Typical chain: rtspsrc -> RTP H.264 depayloader -> H264Parse -> SiMa hardware H.264 decoder -> optional videoconvert / videoscale. Use this as the head of a Session that runs detection or analytics on a live IP camera feed.

Parameters
opt

Configuration (URL, transport, parser fallback caps, decoder output).

Returns

The configured NodeGroup ready to be add()ed to a Session.

See Also

VideoInputGroup

See Also

H264Parse

Definition at line 90 of file RtspDecodedInput.h.

RtspDecodedInputOutputSpec()

OutputSpec simaai::neat::nodes::groups::RtspDecodedInputOutputSpec (const RtspDecodedInputOptions & opt)

Project an RtspDecodedInputOptions into the OutputSpec the group will advertise.

Parameters
opt

RTSP-input group options (url, latency, decoder, output caps).

Returns

Negotiated downstream caps for this configuration.

Definition at line 38 of file GroupOutputSpec.h.

simple_infer()

simaai::neat::NodeGroup simaai::neat::nodes::groups::simple_infer (const std::string & tar_gz)

Build a single-stage MLA-inference NodeGroup from an MPK tarball, with default options.

Parameters
tar_gz

Path to the model .tar.gz.

Definition at line 67 of file ModelGroups.h.

UdpH264OutputGroup()

simaai::neat::NodeGroup simaai::neat::nodes::groups::UdpH264OutputGroup (const UdpH264OutputGroupOptions & opt)

Build a NodeGroup that H.264-encodes, RTP-packetizes, and sends frames over UDP.

Typical chain: H.264 encoder -> RTP H.264 payloader -> udpsink. Use as the tail of a Session that should broadcast its rendered output as RTP/H.264 over UDP.

Parameters
opt

Encoder, RTP, and UDP-sink configuration.

Returns

The configured NodeGroup ready to be add()ed to a Session.

See Also

UdpOutputGroupG

See Also

ImageToH264RtspGroup

Definition at line 53 of file UdpH264OutputGroup.h.

UdpOutputGroupG()

simaai::neat::NodeGroup simaai::neat::nodes::groups::UdpOutputGroupG (const UdpOutputGroupGOptions & opt)

Build a NodeGroup that renders, encodes, and sends frames over UDP.

More flexible counterpart to UdpH264OutputGroup: accepts a render-stage configuration string and explicit encoder geometry, then mux/packetize and send to the configured UDP endpoint.

Parameters
opt

Render, encoder, and UDP-sink configuration.

Returns

The configured NodeGroup ready to be add()ed to a Session.

See Also

UdpH264OutputGroup

Definition at line 58 of file UdpOutputGroupG.h.

VideoInputGroup()

simaai::neat::NodeGroup simaai::neat::nodes::groups::VideoInputGroup (const VideoInputGroupOptions & opt)

Build the video-file input NodeGroup: file source, demux, H.264 parse, hardware decode.

Typical chain: FileInput -> decodebin/demuxer -> H264Parse -> SiMa hardware H.264 decoder -> optional videoconvert / videoscale. Use this as the head of a Session that runs against a recorded video file.

Parameters
opt

Configuration (path, parser tunables, decoder output, caps).

Returns

The configured NodeGroup ready to be add()ed to a Session.

See Also

RtspDecodedInput

See Also

H264Parse

Definition at line 78 of file VideoInputGroup.h.

VideoInputGroupOutputSpec()

OutputSpec simaai::neat::nodes::groups::VideoInputGroupOutputSpec (const VideoInputGroupOptions & opt)

Project a VideoInputGroupOptions into the OutputSpec the group will advertise.

Parameters
opt

Video-file-input group options (path, parse config, output caps).

Returns

Negotiated downstream caps for this configuration.

Definition at line 46 of file GroupOutputSpec.h.


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.