Skip to main content

ImageInputGroup.h File

ImageInputGroup — still-image source NodeGroup that emits a video-shaped stream. More...

Included Headers​

#include "builder/NodeGroup.h" #include "contracts/ContractTypes.h" #include "pipeline/FormatSpec.h" #include <string>

Namespaces Index​

namespacesimaai
namespaceneat
namespacenodes
namespacegroups

Classes Index​

structImageInputGroupOptions

Configuration for ImageInputGroup. More...

structOutputCaps

Optional explicit output caps applied at the group's tail. More...

structSimaDecoder

Optional SiMa hardware decoder configuration (replaces the software decoder when enabled). More...

Description​

ImageInputGroup — still-image source NodeGroup that emits a video-shaped stream.

Bundles a file source, an image decoder (JPEG, PNG, or auto-detected), and an imagefreeze-style stage that promotes the single still frame into a continuous video stream at a chosen frame rate. Typical placement: very first NodeGroup in a Session that wants to test or demo a vision pipeline against a single image instead of a live source.

See Also

VideoInputGroup

See Also

RtspDecodedInput

File Listing​

The file content with the documentation metadata removed is:

1
15#pragma once
16
17#include "builder/NodeGroup.h"
20
21#include <string>
22
24
34 std::string path;
39 int fps = 30;
40 bool sync_mode = false;
41
42 bool use_videorate = false;
43 bool use_videoconvert = true;
44 bool use_videoscale = false;
45
47 struct OutputCaps {
48 bool enable = true;
50 int width = -1;
51 int height = -1;
52 int fps = -1;
56
58 enum class Decoder {
59 Auto = 0,
62 Custom,
63 };
64
67
69 struct SimaDecoder {
70 bool enable = false;
72 std::string decoder_name = "decoder";
73 bool raw_output = false;
75 std::string next_element;
76 bool use_sw_encoder = false;
77 int sw_bitrate_kbps = 4000;
80
82 std::string extra_fragment;
83};
84
100simaai::neat::NodeGroup ImageInputGroup(const ImageInputGroupOptions& opt);
101
102} // namespace simaai::neat::nodes::groups

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.