|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
24 namespace FontFamilyDoc
26 constexpr
const char*
descr = R
"pydeepstream(Font family.)pydeepstream";
27 constexpr const char*
serif = R
"pydeepstream(Serif.)pydeepstream";
30 namespace ArrowHeadDoc
32 constexpr
const char*
descr = R
"pydeepstream(Arrow head positions.)pydeepstream";
33 constexpr const char*
start = R
"pydeepstream(Arrow head only at start.)pydeepstream";
34 constexpr const char*
end = R
"pydeepstream(Arrow head only at end.)pydeepstream";
35 constexpr const char*
both = R
"pydeepstream(Arrow head at both sides.)pydeepstream";
40 constexpr
const char*
descr = R
"pydeepstream(
41 Holds the font parameters of the text to be overlaid.
43 :ivar name: *str*, Name of the font.
44 :ivar size: *int*, Size of the font.
45 :ivar color: :class:`Color`, Color parameters of the font.)pydeepstream";
50 constexpr
const char*
descr = R
"pydeepstream(
51 Holds the color parameters of the text to be overlaid.
53 :ivar r: *float*, Red component of the color. Value must be in range [0, 1].
54 :ivar g: *float*, Green component of the color. Value must be in range [0, 1].
55 :ivar b: *float*, Blue component of the color. Value must be in range [0, 1].
56 :ivar a: *float*, Alpha component of the color. Value must be in range [0, 1].)pydeepstream";
61 constexpr
const char*
descr = R
"pydeepstream(
62 Holds the text parameters to be overlaid.
64 :ivar display_text: *str*, Text to be overlaid.
65 :ivar x_offset: *int*, Horizentol offset w.r.t top left pixel of the frame.
66 :ivar y_offset: *int*, Vertical offset w.r.t top left pixel of the frame.
67 :ivar font: :class:`Font`, Font parameters of the text.
68 :ivar set_bg_color: *bool*, Whether the text has background color.
69 :ivar bg_color: :class:`Color`, Color parameters of the text background, if specified.)pydeepstream";
72 namespace TextParamsDoc
74 constexpr
const char*
descr = R
"pydeepstream(
75 Holds the text parameters to be overlaid.
77 :ivar display_text: *str*, Text to be overlaid.
78 :ivar x_offset: *int*, Horizentol offset w.r.t top left pixel of the frame.
79 :ivar y_offset: *int*, Vertical offset w.r.t top left pixel of the frame.
80 :ivar font_params: :class:`Font`, Font parameters of the text.
81 :ivar set_bg_clr: *bool*, Whether the text has background color.
82 :ivar text_bg_clr: :class:`Color`, Color parameters of the text background, if specified.)pydeepstream";
87 constexpr
const char*
descr = R
"pydeepstream(
88 Holds the rectangle parameters of the box to be overlaid.
90 :ivar left: *int*, Left coordinate of the rectangle in pixels.
91 :ivar top: *int*, Top coordinate of the rectangle in pixels.
92 :ivar width: *int*, Width of the rectangle in pixels.
93 :ivar height: *int*, Height of the rectangle in pixels.
94 :ivar border_width: *int*, Width of the border of the rectangle in pixels.
95 :ivar border_color: :class:`Color`, Color parameters of the border of the rectangle.
96 :ivar has_bg_color: *bool*, Whether the rectangle has background color.
97 :ivar bg_color: :class:`Color`, Color parameters of the rectangle background, if specified.)pydeepstream";
102 constexpr
const char*
descr = R
"pydeepstream(
103 Holds the parameters of the instance segment to be overlaid.
105 :ivar threshold: *float*, Threshold for binarization.
106 :ivar mask_array: *list of float*, Mask buffer of instance.)pydeepstream";
111 constexpr
const char*
descr = R
"pydeepstream(
112 Holds the parameters of the line to be overlaid.
114 :ivar x1: *int*, X coordinate of the start point of the line in pixels.
115 :ivar y1: *int*, Y coordinate of the start point of the line in pixels.
116 :ivar x2: *int*, X coordinate of the end point of the line in pixels.
117 :ivar y2: *int*, Y coordinate of the end point of the line in pixels.
118 :ivar width: *int*, Width of the line in pixels.
119 :ivar color: :class:`Color`, Color parameters of the line.)pydeepstream";
124 constexpr
const char*
descr = R
"pydeepstream(
125 Holds the parameters of the arrow to be overlaid.
127 :ivar x1: *int*, X coordinate of the start point of the arrow in pixels.
128 :ivar y1: *int*, Y coordinate of the start point of the arrow in pixels.
129 :ivar x2: *int*, X coordinate of the end point of the arrow in pixels.
130 :ivar y2: *int*, Y coordinate of the end point of the arrow in pixels.
131 :ivar width: *int*, Width of the arrow shaft in pixels.
132 :ivar color: :class:`Color`, Color parameters of the arrow.
133 :ivar head: :class:`ArrowHead`, Position of the arrow head.)pydeepstream";
138 constexpr
const char*
descr = R
"pydeepstream(
139 Holds the parameters of the circle to be overlaid.
141 :ivar xc: *int*, X coordinate of the center of the circle in pixels.
142 :ivar yc: *int*, Y coordinate of the center of the circle in pixels.
143 :ivar radius: *int*, Radius of the circle in pixels.
144 :ivar color: :class:`Color`, Color parameters of the circle.
145 :ivar has_bg_color: *bool*, Whether the circle has background color.
146 :ivar bg_color: :class:`Color`, Color parameters of the circle background, if specified.
147 :ivar width: *int*, Width of the circle in pixels.)pydeepstream";
150 namespace EventHandlerDoc
152 constexpr
const char*
descr = R
"pydeepstream(
153 Handler for capturing mouse events from the display. Once the event capturing is started,
154 users can toggle the OSD text using the mouse.
156 :ivar started: *bool*, Whether the event handler has been started.)pydeepstream";
157 constexpr const char*
init = R
"pydeepstream(Initialize the event handler from tiler, osd, and renderer :class:`Node`s.)pydeepstream";
158 constexpr const char*
start = R
"pydeepstream(Start the event handler.)pydeepstream";
159 constexpr const char*
stop = R
"pydeepstream(Stop the event handler.)pydeepstream";
constexpr const char * start
constexpr const char * both
constexpr const char * init
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * serif
constexpr const char * start
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * stop
constexpr const char * end
constexpr const char * descr