NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/libs/nvds_rest_server/nvds_rest_server.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef _NVDS_SERVER_H_
19 #define _NVDS_SERVER_H_
20 
21 #include <string>
22 #include <unordered_map>
23 #include <map>
24 #include <vector>
25 #include <functional>
26 #include "gst-nvdscustomevent.h"
27 #include "gst-nvdscommonconfig.h"
28 #include <json/json.h>
29 #define UNKNOWN_STRING "unknown"
30 #define EMPTY_STRING ""
31 
32 typedef enum
33 {
35  SKIP_FRAMES = 1 << 1,
36  LOW_LATENCY_MODE = 1 << 2,
38 
39 typedef enum
40 {
41  BITRATE = 1 << 0,
42  FORCE_IDR = 1 << 1,
43  FORCE_INTRA = 1 << 2,
44  IFRAME_INTERVAL = 1 << 3,
46 
47 typedef enum
48 {
49  SRC_CROP = 1 << 0,
50  DEST_CROP = 1 << 1,
51  FLIP_METHOD = 1 << 2,
54 
55 typedef enum
56 {
58  MAX_LATENCY = 1 << 1,
60 
61 typedef enum
62 {
63  INFER_INTERVAL = 1 << 0,
65 
66 typedef enum
67 {
70 
71 typedef enum
72 {
73  NVTRACKER_CONFIG = 1 << 0,
75 
93 typedef enum
94 {
96  GET_READY_INFO = 1 << 1,
97  GET_LIVE_INFO = 1 << 2,
98  GET_STARTUP_INFO = 1 << 3,
99  GET_METRICS_INFO = 1 << 4,
101  GET_MODEL_STATUS_INFO = 1 << 6, /* /api/v1/model/status -- app model-pool state */
102  GET_MODEL_ROUTING_INFO = 1 << 7, /* GET /api/v1/model/routing -- routing plane only */
104 
105 typedef enum
106 {
107  PROCESS_MODE = 1 << 0,
109 
110 typedef enum
111 {
112  RELOAD_CONFIG = 1 << 0,
114 
115 typedef enum
116 {
119 
120 typedef enum
121 {
124 
125 typedef enum
126 {
127  ROI_UPDATE = 1 << 0,
129 
130 typedef enum
131 {
132  QUIT_APP = 1 << 0,
134 
135 typedef enum
136 {
140 
141 typedef enum
142 {
148 
149 typedef enum
150 {
155  /* model/update = IN-PLACE checkpoint transition on the live instance group
156  * (same network, new weights, NEW version). Model routing is a different
157  * plane: see NvDsServerRouteStatus / /api/v1/model/routing. */
161 
162 typedef enum
163 {
167 
168 typedef enum
169 {
187 
188 typedef enum
189 {
193 
194 typedef enum
195 {
203 
204 typedef enum
205 {
215 
216 typedef enum
217 {
227 
228 typedef enum
229 {
235 
236 typedef enum
237 {
241 
242 typedef enum
243 {
247 
248 typedef enum
249 {
253 
254 typedef enum
255 {
259 
260 typedef enum
261 {
265 
266 typedef enum
267 {
271 
272 typedef enum
273 {
277 
278 typedef enum
279 {
280  StatusOk = 0, // HTTP error code : 200
281  StatusAccepted, // HTTP error code : 202
282  StatusBadRequest, // HTTP error code : 400
283  StatusUnauthorized, // HTTP error code : 401
284  StatusForbidden, // HTTP error code : 403
285  StatusMethodNotAllowed, // HTTP error code : 405
286  StatusNotAcceptable, // HTTP error code : 406
287  StatusProxyAuthenticationRequired, // HTTP error code : 407
288  StatusRequestTimeout, // HTTP error code : 408
289  StatusPreconditionFailed, // HTTP error code : 412
290  StatusPayloadTooLarge, // HTTP error code : 413
291  StatusUriTooLong, // HTTP error code : 414
292  StatusUnsupportedMediaType, // HTTP error code : 415
293  StatusInternalServerError, // HTTP error code : 500
294  StatusNotImplemented, // HTTP error code : 501
295  StatusServiceUnavailable, // HTTP error code : 503
296  StatusNotFound, // HTTP error code : 404
297  StatusConflict // HTTP error code : 409
299 
300 typedef struct NvDsServerErrorInfo
301 {
302  std::pair < int, std::string > err_log;
304  /* Machine-readable error envelope (error{code,message,field,hint} in HTTP body when code != StatusOk).
305  Clients must never parse prose: `err_code` is a stable id (e.g. "MODEL_NOT_LOADED"); `hint` gives an actionable step.
306  `field` is the dotted path of the offending member (e.g. "value.gpus"), present only if the reject knows it.
307  An empty `field` is honest; guessing would mislead clients. */
308  std::string err_code;
309  std::string hint;
310  std::string field;
312 
313 typedef struct NvDsServerDecInfo
314 {
315  std::string root_key;
316  std::string stream_id;
317  guint drop_frame_interval;
318  guint skip_frames;
319  gboolean low_latency_mode;
322  std::string dec_log;
323  std::string uri;
326 
327 typedef struct NvDsServerEncInfo
328 {
329  std::string root_key;
330  std::string stream_id;
331  guint bitrate;
332  gboolean force_idr;
333  gboolean force_intra;
334  guint iframeinterval;
337  std::string enc_log;
338  std::string uri;
341 
342 typedef struct NvDsServerConvInfo
343 {
344  std::string root_key;
345  std::string stream_id;
346  std::string src_crop;
347  std::string dest_crop;
348  guint flip_method;
349  guint interpolation_method;
352  std::string conv_log;
353  std::string uri;
356 
357 typedef struct NvDsServerMuxInfo
358 {
359  std::string root_key;
361  guint max_latency;
364  std::string mux_log;
365  std::string uri;
368 
369 typedef struct NvDsServerRoiInfo
370 {
371  std::string root_key;
372  std::string stream_id;
373  guint roi_count;
374  std::vector < RoiDimension > vect;
377  std::string roi_log;
378  std::string uri;
381 
382 typedef struct NvDsServerStreamInfo
383 {
384  std::string key;
385  std::string value_camera_id;
386  std::string value_camera_name;
387  std::string value_camera_url;
388  std::string value_change;
389  std::string value_creation_time;
390 
391  std::string metadata_resolution;
392  std::string metadata_codec;
393  std::string metadata_framerate;
394  /* Wall-clock time of the first frame of the source (ISO 8601, e.g.
395  * "2025-01-01T00:00:00.000Z"), from metadata.file_start_time. When set it seeds
396  * the nvstreammux NTP base for this source so frame ntp_timestamp reflects the
397  * real content time (mainly for file sources that carry no RTCP NTP). */
398  std::string metadata_file_start_time;
399  /* Full metadata object forwarded verbatim as a JSON string (variable keys),
400  * so custom per-stream metadata (e.g. model selection) reaches the app. */
401  std::string metadata_json;
402 
403  std::string headers_source;
404  std::string headers_created_at;
406  std::string stream_log;
407  std::string uri;
410 
411 /* MODEL PLANE (lifecycle) request info -- /api/v1/model/load|unload|update.
412  *
413  * load: register + warm one immutable (name, version); deploy its
414  * instance set (declarative full set).
415  * unload: reclaim an idle version (version "" => all non-serving versions).
416  * update: IN-PLACE checkpoint transition on the LIVE instance group -- same
417  * network, new weights, NEW version. from_version is a REQUIRED CAS
418  * guard. Engines: `engine_file` (single-instance groups only) XOR
419  * `engine_files` (exact per-GPU map).
420  *
421  * Model routing is a different plane (never mixed in here): NvDsServerRouteInfo.
422  * The raw request `value` object is also carried verbatim in `value_json` --
423  * that is what travels in-band to the consuming element (one schema end-to-end). */
424 typedef struct NvDsServerModelInfo
425 {
426  std::string key;
427  std::string name;
428  std::string version;
429  std::string from_version;
430  std::string config_file;
431  std::string engine_file;
432  std::map<guint, std::string> engine_files;
433  std::vector<guint> gpus;
434  gboolean has_gpus;
435  std::string value_json;
436  std::string value_change;
438  std::string model_log;
439  std::string uri;
442 
443 /* ROUTING PLANE request info -- /api/v1/model/routing.
444  * Declarative routing request: per-group desired (model, shadow) state plus an
445  * optional default switch. Parse/admission constraints enforced at this layer:
446  * - at least one of routes[] / default present (EMPTY_REQUEST);
447  * - every route carries `streams`: an explicit camera_id list or the literal
448  * "all" (an omitted list must fail validation, never mean "everything");
449  * - no stream named in two routes (STREAM_DUPLICATE_ROUTE);
450  * - a route ALWAYS resolves to a serving model: `"model": null` (explicit
451  * passthrough) with a shadow present is rejected (SHADOW_WITHOUT_MODEL);
452  * - refs are structured {name, version[, gpu]}; version is a positive integer.
453  * Whether a stream exists is checked by the nvmultiurisrcbin callback (it owns
454  * the camera_id -> source_id map); model-loaded/state checks belong to the
455  * consuming element. The raw `value` travels verbatim in `value_json`. */
456 typedef struct NvDsServerRouteRef
457 {
458  std::string name;
459  std::string version;
460  gint gpu;
462 
463 typedef struct NvDsServerRouteEntry
464 {
465  std::vector<std::string> camera_ids;
466  gboolean all_streams;
467  gboolean has_model;
468  gboolean model_null;
470  gboolean has_shadow;
471  gboolean shadow_null;
474 
475 typedef struct NvDsServerRouteInfo
476 {
477  std::string key;
478  std::vector<NvDsServerRouteEntry> routes;
479  gboolean has_default;
480  gboolean default_has_model;
482  gboolean default_has_shadow;
483  gboolean default_shadow_null;
485  gint64 if_revision;
486  std::string value_json;
487  std::string value_change;
489  std::string route_log;
490  std::string uri;
493 
494 typedef struct NvDsGetRequestInfo
495 {
496  std::string root_key;
497  std::string stream_id;
498  gboolean is_text;
501  std::string get_request_log;
502  std::string uri;
503  Json::Value stream_info;
504  std::vector<NvDsSensorInfo*> sensorInfo_vec;
507 
508 typedef struct NvDsServerInferInfo
509 {
510  std::string root_key;
511  std::string stream_id;
512  guint interval;
515  std::string infer_log;
516  std::string uri;
519 typedef struct NvDsServerOsdInfo
520 {
521  std::string root_key;
522  std::string stream_id;
523  guint process_mode;
526  std::string osd_log;
527  std::string uri;
530 
531 typedef struct NvDsServerAnalyticsInfo
532 {
533  std::string root_key;
534  std::string stream_id;
535  std::string config_file_path;
538  std::string analytics_log;
539  std::string uri;
542 
543 typedef struct NvDsServerTextEmbeddingInfo
544 {
545  std::string text_input;
546  std::string model;
547  std::string id;
548  long created;
549  Json::Value data;
552  std::string text_embedding_log;
553  std::string uri;
556 
557 typedef struct NvDsServerImageEmbeddingInfo
558 {
559  std::string image_path;
560  std::string model;
561  gboolean has_bbox;
562  gdouble bbox_left;
563  gdouble bbox_top;
564  gdouble bbox_width;
565  gdouble bbox_height;
566  std::string id;
567  long created;
568  Json::Value data;
571  std::string image_embedding_log;
572  std::string uri;
575 
576 typedef struct NvDsServerAppInstanceInfo
577 {
578  std::string root_key;
579  gboolean app_quit;
582  std::string app_log;
583  std::string uri;
586 
587 typedef struct NvDsServerInferServerInfo
588 {
589  std::string root_key;
590  std::string stream_id;
591  guint interval;
594  std::string inferserver_log;
595  std::string uri;
598 
599 typedef struct NvDsServerNvTrackerInfo
600 {
601  std::string root_key;
602  std::string stream_id;
603  std::string config_path;
606  std::string nvTracker_log;
607  std::string uri;
610 typedef struct NvDsServerResponseInfo
611 {
612  std::string status;
613  std::string reason;
614  Json::Value stream_info;
616 
617 typedef struct NvDsServerConfig
618 {
619  std::string ip;
620  std::string port;
622 
623 using cb_func = std::function < NvDsServerStatusCode (const Json::Value & req_info,
624  const Json::Value & in,
625  Json::Value & out, struct mg_connection * conn, void *ctx)>;
626 
627 typedef struct NvDsServerCallbacks
628 {
629  std::function < void (NvDsServerRoiInfo * roi_info, void *ctx) > roi_cb;
630  std::function < void (NvDsServerDecInfo * dec_info, void *ctx) > dec_cb;
631  std::function < void (NvDsServerEncInfo * enc_info, void *ctx) > enc_cb;
632  std::function < void (NvDsServerStreamInfo * stream_info,
633  void *ctx) > stream_cb;
634  std::function < void (NvDsServerModelInfo * model_info,
635  void *ctx) > model_cb;
636  std::function < void (NvDsServerRouteInfo * route_info,
637  void *ctx) > route_cb;
638  std::function < void (NvDsServerInferInfo * infer_info,
639  void *ctx) > infer_cb;
640  std::function < void (NvDsServerConvInfo * conv_info, void *ctx) > conv_cb;
641  std::function < void (NvDsServerMuxInfo * mux_info, void *ctx) > mux_cb;
642  std::function < void (NvDsServerInferServerInfo * inferserver_info,
643  void *ctx) > inferserver_cb;
644  std::function < void (NvDsServerNvTrackerInfo * nvTracker_info,
645  void *ctx) > nvTracker_cb;
646  std::function < void (NvDsServerOsdInfo * osd_info, void *ctx) > osd_cb;
647  std::function < void (NvDsServerAppInstanceInfo * appinstance_info,
648  void *ctx) > appinstance_cb;
649  std::function < void (NvDsServerAnalyticsInfo * analytics_info, void *ctx) > analytics_cb;
650  std::function < void (NvDsServerTextEmbeddingInfo * text_embedding_info, void *ctx) > text_embedding_cb;
651  std::function < void (NvDsServerImageEmbeddingInfo * image_embedding_info, void *ctx) > image_embedding_cb;
652  std::function < void (NvDsServerGetRequestInfo * get_request_info,
653  void *ctx) > get_request_cb;
654  std::unordered_map <std::string, cb_func> custom_cb_endpt;
656 
657 class NvDsRestServer;
658 NvDsRestServer* nvds_rest_server_start (NvDsServerConfig * server_config, NvDsServerCallbacks * server_cb, void* custom_ctx);
659 void nvds_rest_server_stop (NvDsRestServer *ctx);
660 /* Map an HTTP status integer onto NvDsServerStatusCode. */
662 bool iequals (const std::string & a, const std::string & b);
663 
664 #endif
NvDsServerImageEmbeddingInfo::image_embedding_flag
NvDsServerImageEmbeddingPropFlag image_embedding_flag
Definition: includes/nvds_rest_server.h:437
StatusOk
@ StatusOk
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:280
NvDsServerConvInfo::dest_crop
std::string dest_crop
Definition: includes/nvds_rest_server.h:305
FORCE_IDR_UPDATE_FAIL
@ FORCE_IDR_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:209
NvDsServerModelInfo::value_json
std::string value_json
the request "value" object, serialized verbatim
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:435
NvDsServerMuxInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:323
NvDsServerCallbacks
struct NvDsServerCallbacks NvDsServerCallbacks
NvDsServerOsdStatus
NvDsServerOsdStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:254
MODEL_UPDATE_FAIL
@ MODEL_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:159
NvDsServerOsdStatus
NvDsServerOsdStatus
Definition: includes/nvds_rest_server.h:221
NvDsServerNvTrackerStatus
NvDsServerNvTrackerStatus
Definition: includes/nvds_rest_server.h:215
NvDsServerRoiInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:330
INFERSERVER_INTERVAL
@ INFERSERVER_INTERVAL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:68
FORCE_INTRA_UPDATE_SUCCESS
@ FORCE_INTRA_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:210
NvDsServerStreamInfo::metadata_resolution
std::string metadata_resolution
Definition: includes/nvds_rest_server.h:349
FLIP_METHOD
@ FLIP_METHOD
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:51
INFER_INTERVAL_UPDATE_SUCCESS
@ INFER_INTERVAL_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:238
GET_READY_INFO_FAIL
@ GET_READY_INFO_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:173
NvDsServerMuxInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:317
MAX_LATENCY
@ MAX_LATENCY
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:58
NvDsServerRouteRef::name
std::string name
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:458
NvDsServerInferServerStatus
NvDsServerInferServerStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:242
NvDsServerInferInfo::infer_flag
NvDsServerInferPropFlag infer_flag
Definition: includes/nvds_rest_server.h:381
NvDsServerMuxStatus
NvDsServerMuxStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:228
MODEL_UNLOAD_FAIL
@ MODEL_UNLOAD_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:154
GET_MODEL_STATUS_INFO_FAIL
@ GET_MODEL_STATUS_INFO_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:183
GET_MODEL_ROUTING_INFO_FAIL
@ GET_MODEL_ROUTING_INFO_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:185
StatusUnauthorized
@ StatusUnauthorized
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:283
ROI_UPDATE_FAIL
@ ROI_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:191
StatusServiceUnavailable
@ StatusServiceUnavailable
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:295
StatusNotAcceptable
@ StatusNotAcceptable
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:286
NVTRACKER_CONFIG_UPDATE_FAIL
@ NVTRACKER_CONFIG_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:251
NvDsServerRoiInfo::roi_log
std::string roi_log
Definition: includes/nvds_rest_server.h:335
SRC_CROP_UPDATE_FAIL
@ SRC_CROP_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:221
NVTRACKER_CONFIG_UPDATE_SUCCESS
@ NVTRACKER_CONFIG_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:250
NvDsServerAnalyticsInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:400
NvDsServerRouteInfo::route_log
std::string route_log
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:489
NvDsServerResponseInfo
Definition: includes/nvds_rest_server.h:477
NvDsServerNvTrackerInfo::status
NvDsServerNvTrackerStatus status
Definition: includes/nvds_rest_server.h:471
NvDsServerModelInfo::name
std::string name
logical model name (no '@' / ';')
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:427
StatusBadRequest
@ StatusBadRequest
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:282
NvDsServerCallbacks::custom_cb_endpt
std::unordered_map< std::string, cb_func > custom_cb_endpt
Definition: includes/nvds_rest_server.h:517
GET_METADATA_INFO_SUCCESS
@ GET_METADATA_INFO_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:180
STREAM_ADD_SUCCESS
@ STREAM_ADD_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:143
NvDsServerRoiInfo::roi_flag
NvDsServerRoiPropFlag roi_flag
Definition: includes/nvds_rest_server.h:334
NvDsServerNvTrackerInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:468
NvDsServerRouteRef::gpu
gint gpu
-1 = no placement hint
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:460
NvDsServerModelInfo::value_change
std::string value_change
set by handler: "model_load"|"model_unload"|"model_update"
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:436
STREAM_REMOVE_SUCCESS
@ STREAM_REMOVE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:145
NvDsServerImageEmbeddingInfo::bbox_left
gdouble bbox_left
Definition: includes/nvds_rest_server.h:429
StatusInternalServerError
@ StatusInternalServerError
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:293
NvDsServerConvInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:302
NvDsServerInferPropFlag
NvDsServerInferPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:61
NvDsServerConvInfo::status
NvDsServerConvStatus status
Definition: includes/nvds_rest_server.h:308
NvDsServerMuxInfo::mux_flag
NvDsServerMuxPropFlag mux_flag
Definition: includes/nvds_rest_server.h:321
MODEL_ROUTING_FAIL
@ MODEL_ROUTING_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:165
GET_MODEL_STATUS_INFO
@ GET_MODEL_STATUS_INFO
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:101
NvDsServerImageEmbeddingInfo::model
std::string model
Definition: includes/nvds_rest_server.h:427
NvDsServerErrorInfo::code
NvDsServerStatusCode code
Definition: includes/nvds_rest_server.h:268
GET_LIVE_INFO_FAIL
@ GET_LIVE_INFO_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:175
NvDsServerRoiInfo
struct NvDsServerRoiInfo NvDsServerRoiInfo
NvDsServerRouteInfo::routes
std::vector< NvDsServerRouteEntry > routes
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:478
NvDsServerConvInfo
struct NvDsServerConvInfo NvDsServerConvInfo
NvDsServerEncInfo
struct NvDsServerEncInfo NvDsServerEncInfo
NvDsServerConvInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:303
NvDsServerOsdInfo::status
NvDsServerOsdStatus status
Definition: includes/nvds_rest_server.h:391
NvDsServerCallbacks::nvTracker_cb
std::function< void(NvDsServerNvTrackerInfo *nvTracker_info, void *ctx) > nvTracker_cb
Definition: includes/nvds_rest_server.h:508
NvDsServerModelInfo::config_file
std::string config_file
load: required on first load of a name
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:430
NvDsServerErrorInfo::err_log
std::pair< int, std::string > err_log
Definition: includes/nvds_rest_server.h:267
NvDsServerImageEmbeddingPropFlag
NvDsServerImageEmbeddingPropFlag
Definition: includes/nvds_rest_server.h:110
NvDsServerOsdInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:394
NvDsServerDecStatus
NvDsServerDecStatus
Definition: includes/nvds_rest_server.h:161
NvDsServerConvInfo::src_crop
std::string src_crop
Definition: includes/nvds_rest_server.h:304
NvDsGetRequestInfo::stream_info
Json::Value stream_info
Definition: includes/nvds_rest_server.h:370
GET_LIVE_STREAM_INFO
@ GET_LIVE_STREAM_INFO
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:95
NvDsServerStatusCode
NvDsServerStatusCode
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:278
NvDsServerGetRequestStatus
NvDsServerGetRequestStatus
Definition: includes/nvds_rest_server.h:139
NvDsServerDecInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:282
NvDsServerRoiInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:337
NvDsServerRouteRef::version
std::string version
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:459
NvDsServerModelInfo::has_gpus
gboolean has_gpus
'gpus' present in the request
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:434
NvDsServerEncInfo::force_intra
gboolean force_intra
Definition: includes/nvds_rest_server.h:291
NvDsServerAnalyticsPropFlag
NvDsServerAnalyticsPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:110
StatusForbidden
@ StatusForbidden
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:284
NvDsServerStreamInfo::value_camera_name
std::string value_camera_name
Definition: includes/nvds_rest_server.h:344
NvDsServerConvStatus
NvDsServerConvStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:216
NvDsServerInferInfo
Definition: includes/nvds_rest_server.h:375
SKIP_FRAMES
@ SKIP_FRAMES
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:35
NvDsServerDecInfo::skip_frames
guint skip_frames
Definition: includes/nvds_rest_server.h:276
NvDsServerInferServerInfo::inferserver_flag
NvDsServerInferServerPropFlag inferserver_flag
Definition: includes/nvds_rest_server.h:460
NvDsServerConfig::ip
std::string ip
Definition: includes/nvds_rest_server.h:486
NvDsServerRouteInfo::key
std::string key
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:477
NvDsServerRouteInfo::default_shadow
NvDsServerRouteRef default_shadow
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:484
RELOAD_CONFIG
@ RELOAD_CONFIG
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:112
NvDsServerMuxStatus
NvDsServerMuxStatus
Definition: includes/nvds_rest_server.h:195
NvDsGetRequestInfo::get_request_flag
NvDsServerGetRequestPropFlag get_request_flag
Definition: includes/nvds_rest_server.h:367
SKIP_FRAMES_UPDATE_SUCCESS
@ SKIP_FRAMES_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:198
NvDsServerStreamInfo::value_creation_time
std::string value_creation_time
Definition: includes/nvds_rest_server.h:347
NvDsServerCallbacks::osd_cb
std::function< void(NvDsServerOsdInfo *osd_info, void *ctx) > osd_cb
Definition: includes/nvds_rest_server.h:509
NvDsServerImageEmbeddingPropFlag
NvDsServerImageEmbeddingPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:120
INFERSERVER_INTERVAL_UPDATE_FAIL
@ INFERSERVER_INTERVAL_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:245
NvDsServerStreamInfo::headers_source
std::string headers_source
Definition: includes/nvds_rest_server.h:353
NvDsServerTextEmbeddingInfo
struct NvDsServerTextEmbeddingInfo NvDsServerTextEmbeddingInfo
DEST_CROP_UPDATE_FAIL
@ DEST_CROP_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:219
NvDsServerRoiPropFlag
NvDsServerRoiPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:125
NvDsServerErrorInfo
struct NvDsServerErrorInfo NvDsServerErrorInfo
NvDsServerRoiInfo::vect
std::vector< RoiDimension > vect
Definition: includes/nvds_rest_server.h:332
NVTRACKER_CONFIG
@ NVTRACKER_CONFIG
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:73
NvDsServerMuxInfo
struct NvDsServerMuxInfo NvDsServerMuxInfo
NvDsServerOsdInfo::process_mode
guint process_mode
Definition: includes/nvds_rest_server.h:390
StatusRequestTimeout
@ StatusRequestTimeout
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:288
NvDsGetRequestInfo::sensorInfo_vec
std::vector< NvDsSensorInfo * > sensorInfo_vec
Definition: includes/nvds_rest_server.h:371
NvDsServerCallbacks::enc_cb
std::function< void(NvDsServerEncInfo *enc_info, void *ctx) > enc_cb
Definition: includes/nvds_rest_server.h:498
BATCHED_PUSH_TIMEOUT_UPDATE_SUCCESS
@ BATCHED_PUSH_TIMEOUT_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:230
NvDsServerStatusCode
NvDsServerStatusCode
Definition: includes/nvds_rest_server.h:245
NvDsServerMuxInfo
Definition: includes/nvds_rest_server.h:315
NvDsServerHttpStatusCodeToStatusCode
NvDsServerStatusCode NvDsServerHttpStatusCodeToStatusCode(int http_code)
NvDsServerResponseInfo::stream_info
Json::Value stream_info
Definition: includes/nvds_rest_server.h:481
NvDsServerInferServerInfo
Definition: includes/nvds_rest_server.h:454
NvDsServerCallbacks::appinstance_cb
std::function< void(NvDsServerAppInstanceInfo *appinstance_info, void *ctx) > appinstance_cb
Definition: includes/nvds_rest_server.h:511
NvDsServerRouteInfo::default_shadow_null
gboolean default_shadow_null
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:483
NvDsServerEncPropFlag
NvDsServerEncPropFlag
Definition: includes/nvds_rest_server.h:38
NvDsServerDecInfo::drop_frame_interval
guint drop_frame_interval
Definition: includes/nvds_rest_server.h:275
NvDsServerAnalyticsStatus
NvDsServerAnalyticsStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:260
NvDsServerModelInfo::engine_files
std::map< guint, std::string > engine_files
EXACT per-GPU engine map (gpu -> path)
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:432
NvDsServerTextEmbeddingInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:421
NvDsServerMuxInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:324
NvDsServerEncInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:296
LOW_LATENCY_MODE
@ LOW_LATENCY_MODE
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:36
NvDsServerConvInfo::flip_method
guint flip_method
Definition: includes/nvds_rest_server.h:306
NvDsServerInferServerPropFlag
NvDsServerInferServerPropFlag
Definition: includes/nvds_rest_server.h:65
NvDsServerCallbacks::conv_cb
std::function< void(NvDsServerConvInfo *conv_info, void *ctx) > conv_cb
Definition: includes/nvds_rest_server.h:503
StatusPayloadTooLarge
@ StatusPayloadTooLarge
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:290
MAX_LATENCY_UPDATE_SUCCESS
@ MAX_LATENCY_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:232
nvds_rest_server_stop
void nvds_rest_server_stop(NvDsRestServer *ctx)
NvDsServerDecInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:274
NvDsServerTextEmbeddingInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:420
NvDsServerTextEmbeddingInfo::text_embedding_flag
NvDsServerTextEmbeddingPropFlag text_embedding_flag
Definition: includes/nvds_rest_server.h:418
NvDsServerEncInfo::status
NvDsServerEncStatus status
Definition: includes/nvds_rest_server.h:293
NvDsServerRouteInfo::default_model
NvDsServerRouteRef default_model
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:481
NvDsServerCallbacks
Definition: includes/nvds_rest_server.h:494
NvDsServerErrorInfo::err_code
std::string err_code
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:308
NvDsServerModelInfo::gpus
std::vector< guint > gpus
gpu id set: load = instance placement (one per gpu), unload = subset to drain
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:433
NvDsServerModelInfo
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:424
GET_LIVE_INFO_SUCCESS
@ GET_LIVE_INFO_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:174
NvDsServerModelStatus
NvDsServerModelStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:149
GET_LIVE_INFO
@ GET_LIVE_INFO
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:97
NvDsServerNvTrackerInfo::nvTracker_flag
NvDsServerNvTrackerPropFlag nvTracker_flag
Definition: includes/nvds_rest_server.h:472
NvDsServerConfig::port
std::string port
Definition: includes/nvds_rest_server.h:487
NvDsServerGetRequestPropFlag
NvDsServerGetRequestPropFlag
Flags for GET request types supported by the REST server.
Definition: includes/nvds_rest_server.h:85
DROP_FRAME_INTERVAL
@ DROP_FRAME_INTERVAL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:34
NvDsServerAppInstanceInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:451
GET_MODEL_ROUTING_INFO_SUCCESS
@ GET_MODEL_ROUTING_INFO_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:184
MODEL_UPDATE_SUCCESS
@ MODEL_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:158
NvDsServerInferServerPropFlag
NvDsServerInferServerPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:66
NvDsServerInferInfo::infer_log
std::string infer_log
Definition: includes/nvds_rest_server.h:382
NvDsServerCallbacks::inferserver_cb
std::function< void(NvDsServerInferServerInfo *inferserver_info, void *ctx) > inferserver_cb
Definition: includes/nvds_rest_server.h:506
PROCESS_MODE_UPDATE_SUCCESS
@ PROCESS_MODE_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:256
NvDsServerOsdInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:389
NvDsServerModelStatus
NvDsServerModelStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:149
NvDsServerInferServerInfo::status
NvDsServerInferServerStatus status
Definition: includes/nvds_rest_server.h:459
NvDsServerEncInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:287
GET_METRICS_INFO
@ GET_METRICS_INFO
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:99
NvDsServerMuxPropFlag
NvDsServerMuxPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:55
DEST_CROP_UPDATE_SUCCESS
@ DEST_CROP_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:218
NvDsServerRouteRef
struct NvDsServerRouteRef NvDsServerRouteRef
NvDsServerDecInfo::dec_flag
NvDsServerDecPropFlag dec_flag
Definition: includes/nvds_rest_server.h:279
NvDsServerCallbacks::dec_cb
std::function< void(NvDsServerDecInfo *dec_info, void *ctx) > dec_cb
Definition: includes/nvds_rest_server.h:497
NvDsServerStreamInfo::value_camera_url
std::string value_camera_url
Definition: includes/nvds_rest_server.h:345
NvDsServerInferServerStatus
NvDsServerInferServerStatus
Definition: includes/nvds_rest_server.h:209
NvDsServerImageEmbeddingInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:440
NvDsServerAnalyticsInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:407
NvDsServerEncInfo::bitrate
guint bitrate
Definition: includes/nvds_rest_server.h:289
NvDsServerRouteEntry::all_streams
gboolean all_streams
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:466
NvDsServerDecInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:273
NvDsServerRouteStatus
NvDsServerRouteStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:162
NvDsServerDecInfo::low_latency_mode
gboolean low_latency_mode
Definition: includes/nvds_rest_server.h:277
NvDsServerTextEmbeddingInfo::text_input
std::string text_input
Definition: includes/nvds_rest_server.h:412
NvDsServerOsdPropFlag
NvDsServerOsdPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:105
INTERPOLATION_METHOD
@ INTERPOLATION_METHOD
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:52
BITRATE
@ BITRATE
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:41
NvDsServerAnalyticsInfo::analytics_log
std::string analytics_log
Definition: includes/nvds_rest_server.h:405
NvDsServerInferServerInfo
struct NvDsServerInferServerInfo NvDsServerInferServerInfo
GET_METRICS_INFO_FAIL
@ GET_METRICS_INFO_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:179
NvDsServerStreamInfo::metadata_file_start_time
std::string metadata_file_start_time
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:398
NvDsServerAppInstanceInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:445
NvDsServerInferInfo::status
NvDsServerInferStatus status
Definition: includes/nvds_rest_server.h:380
NvDsServerModelInfo::uri
std::string uri
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:439
BITRATE_UPDATE_FAIL
@ BITRATE_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:207
NvDsServerStreamInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:357
NvDsServerTextEmbeddingInfo::id
std::string id
Definition: includes/nvds_rest_server.h:414
NvDsServerStreamStatus
NvDsServerStreamStatus
Definition: includes/nvds_rest_server.h:131
IMAGE_EMBEDDING_GENERATE
@ IMAGE_EMBEDDING_GENERATE
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:122
GET_MODEL_STATUS_INFO_SUCCESS
@ GET_MODEL_STATUS_INFO_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:182
NvDsServerAnalyticsInfo::analytics_flag
NvDsServerAnalyticsPropFlag analytics_flag
Definition: includes/nvds_rest_server.h:404
QUIT_APP
@ QUIT_APP
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:132
NvDsServerRouteRef
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:456
NvDsServerRoiStatus
NvDsServerRoiStatus
Definition: includes/nvds_rest_server.h:155
NvDsServerDecInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:281
NvDsGetRequestInfo
Definition: includes/nvds_rest_server.h:361
NvDsServerAppInstanceFlag
NvDsServerAppInstanceFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:130
FLIP_METHOD_UPDATE_FAIL
@ FLIP_METHOD_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:225
NvDsServerTextEmbeddingPropFlag
NvDsServerTextEmbeddingPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:115
IFRAME_INTERVAL
@ IFRAME_INTERVAL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:44
NvDsServerInferServerInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:463
NvDsServerStreamStatus
NvDsServerStreamStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:141
NvDsServerInferServerInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:462
NvDsServerAppInstanceStatus
NvDsServerAppInstanceStatus
Definition: includes/nvds_rest_server.h:125
MAX_LATENCY_UPDATE_FAIL
@ MAX_LATENCY_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:233
StatusUnsupportedMediaType
@ StatusUnsupportedMediaType
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:292
INTERPOLATION_METHOD_UPDATE_SUCCESS
@ INTERPOLATION_METHOD_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:222
NvDsServerOsdInfo::osd_log
std::string osd_log
Definition: includes/nvds_rest_server.h:393
NvDsServerConfig
Definition: includes/nvds_rest_server.h:484
GET_STARTUP_INFO_FAIL
@ GET_STARTUP_INFO_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:177
NvDsServerCallbacks::text_embedding_cb
std::function< void(NvDsServerTextEmbeddingInfo *text_embedding_info, void *ctx) > text_embedding_cb
Definition: includes/nvds_rest_server.h:513
NvDsServerErrorInfo::field
std::string field
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:310
NvDsServerEncInfo
Definition: includes/nvds_rest_server.h:285
NvDsGetRequestInfo::status
NvDsServerGetRequestStatus status
Definition: includes/nvds_rest_server.h:366
GET_METRICS_INFO_SUCCESS
@ GET_METRICS_INFO_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:178
NvDsServerStreamInfo::metadata_json
std::string metadata_json
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:401
GET_READY_INFO_SUCCESS
@ GET_READY_INFO_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:172
NvDsServerInferPropFlag
NvDsServerInferPropFlag
Definition: includes/nvds_rest_server.h:60
NvDsServerAppInstanceFlag
NvDsServerAppInstanceFlag
Definition: includes/nvds_rest_server.h:120
NvDsServerResponseInfo::reason
std::string reason
Definition: includes/nvds_rest_server.h:480
IFRAME_INTERVAL_UPDATE_FAIL
@ IFRAME_INTERVAL_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:213
BATCHED_PUSH_TIMEOUT
@ BATCHED_PUSH_TIMEOUT
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:57
nvds_rest_server_start
NvDsRestServer * nvds_rest_server_start(NvDsServerConfig *server_config, NvDsServerCallbacks *server_cb, void *custom_ctx)
NvDsServerStreamInfo::metadata_framerate
std::string metadata_framerate
Definition: includes/nvds_rest_server.h:351
NvDsServerNvTrackerInfo::config_path
std::string config_path
Definition: includes/nvds_rest_server.h:470
NvDsServerEncPropFlag
NvDsServerEncPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:39
NvDsServerAppInstanceStatus
NvDsServerAppInstanceStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:135
NvDsServerConvInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:312
NvDsServerImageEmbeddingInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:439
NvDsServerRouteEntry::has_shadow
gboolean has_shadow
"shadow" key present
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:470
DROP_FRAME_INTERVAL_UPDATE_SUCCESS
@ DROP_FRAME_INTERVAL_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:196
NvDsServerCallbacks::stream_cb
std::function< void(NvDsServerStreamInfo *stream_info, void *ctx) > stream_cb
Definition: includes/nvds_rest_server.h:500
NvDsServerCallbacks::roi_cb
std::function< void(NvDsServerRoiInfo *roi_info, void *ctx) > roi_cb
Definition: includes/nvds_rest_server.h:496
NvDsServerOsdInfo
Definition: includes/nvds_rest_server.h:386
NvDsServerRouteInfo::default_has_shadow
gboolean default_has_shadow
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:482
NvDsServerRoiInfo::roi_count
guint roi_count
Definition: includes/nvds_rest_server.h:331
NvDsServerResponseInfo::status
std::string status
Definition: includes/nvds_rest_server.h:479
INFERSERVER_INTERVAL_UPDATE_SUCCESS
@ INFERSERVER_INTERVAL_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:244
NvDsServerRoiInfo::status
NvDsServerRoiStatus status
Definition: includes/nvds_rest_server.h:333
PROCESS_MODE_UPDATE_FAIL
@ PROCESS_MODE_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:257
GET_LIVE_STREAM_INFO_FAIL
@ GET_LIVE_STREAM_INFO_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:171
GET_METADATA_INFO_FAIL
@ GET_METADATA_INFO_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:181
NvDsServerDecInfo
Definition: includes/nvds_rest_server.h:271
NvDsServerOsdInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:388
NvDsServerOsdPropFlag
NvDsServerOsdPropFlag
Definition: includes/nvds_rest_server.h:95
INFER_INTERVAL_UPDATE_FAIL
@ INFER_INTERVAL_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:239
IMAGE_EMBEDDING_GENERATE_SUCCESS
@ IMAGE_EMBEDDING_GENERATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:274
TEXT_EMBEDDING_GENERATE_FAIL
@ TEXT_EMBEDDING_GENERATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:269
NvDsServerModelInfo::key
std::string key
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:426
NvDsServerConvPropFlag
NvDsServerConvPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:47
NvDsServerRoiPropFlag
NvDsServerRoiPropFlag
Definition: includes/nvds_rest_server.h:115
NvDsServerEncInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:288
NvDsServerConvPropFlag
NvDsServerConvPropFlag
Definition: includes/nvds_rest_server.h:46
cb_func
std::function< NvDsServerStatusCode(const Json::Value &req_info, const Json::Value &in, Json::Value &out, struct mg_connection *conn, void *ctx)> cb_func
Definition: includes/nvds_rest_server.h:492
StatusUriTooLong
@ StatusUriTooLong
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:291
NvDsServerImageEmbeddingInfo::image_embedding_log
std::string image_embedding_log
Definition: includes/nvds_rest_server.h:438
NvDsServerTextEmbeddingStatus
NvDsServerTextEmbeddingStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:266
NvDsServerRouteInfo::has_default
gboolean has_default
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:479
NvDsServerMuxInfo::max_latency
guint max_latency
Definition: includes/nvds_rest_server.h:319
TEXT_EMBEDDING_GENERATE_SUCCESS
@ TEXT_EMBEDDING_GENERATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:268
NvDsServerAppInstanceInfo::app_quit
gboolean app_quit
Definition: includes/nvds_rest_server.h:446
TEXT_EMBEDDING_GENERATE
@ TEXT_EMBEDDING_GENERATE
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:117
NvDsServerStreamInfo::stream_log
std::string stream_log
Definition: includes/nvds_rest_server.h:356
NvDsServerRouteEntry::model_null
gboolean model_null
"model": null => PASSTHROUGH
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:468
NvDsServerAnalyticsStatus
NvDsServerAnalyticsStatus
Definition: includes/nvds_rest_server.h:227
LOW_LATENCY_MODE_UPDATE_FAIL
@ LOW_LATENCY_MODE_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:201
NvDsServerModelInfo::version
std::string version
positive-integer version (required: load/update)
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:428
NvDsServerRoiInfo
Definition: includes/nvds_rest_server.h:327
NvDsGetRequestInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:372
NvDsServerRouteInfo::err_info
NvDsServerErrorInfo err_info
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:491
BATCHED_PUSH_TIMEOUT_UPDATE_FAIL
@ BATCHED_PUSH_TIMEOUT_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:231
NvDsServerImageEmbeddingInfo::bbox_width
gdouble bbox_width
Definition: includes/nvds_rest_server.h:431
NvDsServerImageEmbeddingInfo::image_path
std::string image_path
Definition: includes/nvds_rest_server.h:426
ROI_UPDATE_SUCCESS
@ ROI_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:190
NvDsServerDecInfo
struct NvDsServerDecInfo NvDsServerDecInfo
NvDsServerImageEmbeddingInfo::bbox_top
gdouble bbox_top
Definition: includes/nvds_rest_server.h:430
MODEL_ROUTING_SUCCESS
@ MODEL_ROUTING_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:164
StatusAccepted
@ StatusAccepted
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:281
NvDsServerImageEmbeddingInfo
struct NvDsServerImageEmbeddingInfo NvDsServerImageEmbeddingInfo
NvDsServerNvTrackerPropFlag
NvDsServerNvTrackerPropFlag
Definition: includes/nvds_rest_server.h:70
NvDsServerStreamInfo
Definition: includes/nvds_rest_server.h:340
NvDsServerDecStatus
NvDsServerDecStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:194
DROP_FRAME_INTERVAL_UPDATE_FAIL
@ DROP_FRAME_INTERVAL_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:197
NvDsServerTextEmbeddingInfo::model
std::string model
Definition: includes/nvds_rest_server.h:413
NvDsServerAnalyticsInfo::config_file_path
std::string config_file_path
Definition: includes/nvds_rest_server.h:402
SKIP_FRAMES_UPDATE_FAIL
@ SKIP_FRAMES_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:199
NvDsGetRequestInfo::get_request_log
std::string get_request_log
Definition: includes/nvds_rest_server.h:368
NvDsServerResponseInfo
struct NvDsServerResponseInfo NvDsServerResponseInfo
NvDsServerRouteEntry::camera_ids
std::vector< std::string > camera_ids
empty + all_streams=TRUE => "all"
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:465
RELOAD_CONFIG_UPDATE_SUCCESS
@ RELOAD_CONFIG_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:262
IFRAME_INTERVAL_UPDATE_SUCCESS
@ IFRAME_INTERVAL_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:212
NvDsServerModelInfo::status
NvDsServerModelStatus status
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:437
NvDsServerConvStatus
NvDsServerConvStatus
Definition: includes/nvds_rest_server.h:183
MODEL_UNLOAD_SUCCESS
@ MODEL_UNLOAD_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:153
GET_READY_INFO
@ GET_READY_INFO
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:96
NvDsServerAppInstanceInfo::status
NvDsServerAppInstanceStatus status
Definition: includes/nvds_rest_server.h:447
NvDsServerRouteInfo::uri
std::string uri
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:490
NvDsServerRoiInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:336
NvDsServerRouteInfo::value_json
std::string value_json
the request "value" object, serialized verbatim
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:486
NvDsServerEncInfo::iframeinterval
guint iframeinterval
Definition: includes/nvds_rest_server.h:292
INFER_INTERVAL
@ INFER_INTERVAL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:63
NvDsServerCallbacks::get_request_cb
std::function< void(NvDsServerGetRequestInfo *get_request_info, void *ctx) > get_request_cb
Definition: includes/nvds_rest_server.h:516
NvDsServerDecInfo::status
NvDsServerDecStatus status
Definition: includes/nvds_rest_server.h:278
NvDsGetRequestInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:363
NvDsServerMuxInfo::mux_log
std::string mux_log
Definition: includes/nvds_rest_server.h:322
NvDsServerImageEmbeddingInfo::has_bbox
gboolean has_bbox
Definition: includes/nvds_rest_server.h:428
NvDsServerNvTrackerInfo::nvTracker_log
std::string nvTracker_log
Definition: includes/nvds_rest_server.h:473
FORCE_INTRA_UPDATE_FAIL
@ FORCE_INTRA_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:211
NvDsServerRouteInfo::status
NvDsServerRouteStatus status
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:488
NvDsServerConvInfo::interpolation_method
guint interpolation_method
Definition: includes/nvds_rest_server.h:307
NvDsServerErrorInfo::hint
std::string hint
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:309
NvDsServerDecInfo::dec_log
std::string dec_log
Definition: includes/nvds_rest_server.h:280
StatusMethodNotAllowed
@ StatusMethodNotAllowed
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:285
NvDsServerInferServerInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:456
NvDsServerRoiInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:329
MODEL_LOAD_SUCCESS
@ MODEL_LOAD_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:151
STREAM_REMOVE_FAIL
@ STREAM_REMOVE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:146
NvDsServerModelInfo::engine_file
std::string engine_file
SEED engine (load) / single-instance (update)
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:431
NvDsGetRequestInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:369
NvDsServerRouteInfo
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:475
GET_METADATA_INFO
@ GET_METADATA_INFO
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:100
NvDsServerOsdInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:395
NvDsServerNvTrackerPropFlag
NvDsServerNvTrackerPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:71
NvDsServerEncStatus
NvDsServerEncStatus
Definition: includes/nvds_rest_server.h:171
NvDsServerConfig
struct NvDsServerConfig NvDsServerConfig
NvDsServerNvTrackerInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:474
NvDsServerModelInfo
struct NvDsServerModelInfo NvDsServerModelInfo
NvDsServerAnalyticsInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:406
NvDsServerRouteEntry::shadow_null
gboolean shadow_null
"shadow": null => clear
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:471
NvDsServerStreamInfo::metadata_codec
std::string metadata_codec
Definition: includes/nvds_rest_server.h:350
NvDsServerRouteEntry::model
NvDsServerRouteRef model
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:469
DEST_CROP
@ DEST_CROP
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:50
NvDsServerEncInfo::enc_log
std::string enc_log
Definition: includes/nvds_rest_server.h:295
RELOAD_CONFIG_UPDATE_FAIL
@ RELOAD_CONFIG_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:263
BITRATE_UPDATE_SUCCESS
@ BITRATE_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:206
NvDsServerInferInfo::interval
guint interval
Definition: includes/nvds_rest_server.h:379
GET_STARTUP_INFO
@ GET_STARTUP_INFO
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:98
NvDsServerOsdInfo::osd_flag
NvDsServerOsdPropFlag osd_flag
Definition: includes/nvds_rest_server.h:392
NvDsServerEncInfo::enc_flag
NvDsServerEncPropFlag enc_flag
Definition: includes/nvds_rest_server.h:294
QUIT_FAIL
@ QUIT_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:138
NvDsServerDecPropFlag
NvDsServerDecPropFlag
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:32
NvDsServerAppInstanceInfo::app_log
std::string app_log
Definition: includes/nvds_rest_server.h:449
NvDsServerImageEmbeddingInfo::status
NvDsServerImageEmbeddingStatus status
Definition: includes/nvds_rest_server.h:436
NvDsServerRouteEntry::has_model
gboolean has_model
"model" key present
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:467
NvDsServerInferStatus
NvDsServerInferStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:236
NvDsServerMuxInfo::batched_push_timeout
gint batched_push_timeout
Definition: includes/nvds_rest_server.h:318
NvDsServerEncStatus
NvDsServerEncStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:204
NvDsServerRoiStatus
NvDsServerRoiStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:188
NvDsServerInferInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:377
NvDsServerNvTrackerInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:469
NvDsServerNvTrackerInfo
Definition: includes/nvds_rest_server.h:466
NvDsServerAppInstanceInfo
struct NvDsServerAppInstanceInfo NvDsServerAppInstanceInfo
NvDsServerImageEmbeddingInfo::id
std::string id
Definition: includes/nvds_rest_server.h:433
NvDsServerNvTrackerStatus
NvDsServerNvTrackerStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:248
IMAGE_EMBEDDING_GENERATE_FAIL
@ IMAGE_EMBEDDING_GENERATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:275
NvDsServerRouteEntry::shadow
NvDsServerRouteRef shadow
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:472
INTERPOLATION_METHOD_UPDATE_FAIL
@ INTERPOLATION_METHOD_UPDATE_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:223
NvDsServerAnalyticsInfo::status
NvDsServerAnalyticsStatus status
Definition: includes/nvds_rest_server.h:403
NvDsServerDecPropFlag
NvDsServerDecPropFlag
Definition: includes/nvds_rest_server.h:31
NvDsServerRouteInfo::if_revision
gint64 if_revision
-1 = no optimistic-concurrency guard
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:485
NvDsServerMuxPropFlag
NvDsServerMuxPropFlag
Definition: includes/nvds_rest_server.h:54
GET_STARTUP_INFO_SUCCESS
@ GET_STARTUP_INFO_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:176
NvDsServerGetRequestStatus
NvDsServerGetRequestStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:168
FORCE_IDR_UPDATE_SUCCESS
@ FORCE_IDR_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:208
NvDsServerGetRequestInfo
struct NvDsGetRequestInfo NvDsServerGetRequestInfo
NvDsServerRouteEntry
struct NvDsServerRouteEntry NvDsServerRouteEntry
GET_LIVE_STREAM_INFO_SUCCESS
@ GET_LIVE_STREAM_INFO_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:170
NvDsServerImageEmbeddingStatus
NvDsServerImageEmbeddingStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:272
NvDsServerNvTrackerInfo
struct NvDsServerNvTrackerInfo NvDsServerNvTrackerInfo
NvDsServerTextEmbeddingPropFlag
NvDsServerTextEmbeddingPropFlag
Definition: includes/nvds_rest_server.h:105
NvDsServerRouteInfo::value_change
std::string value_change
set by handler: "model_routing"
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:487
NvDsServerTextEmbeddingInfo
Definition: includes/nvds_rest_server.h:410
NvDsServerRouteEntry
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:463
FLIP_METHOD_UPDATE_SUCCESS
@ FLIP_METHOD_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:224
NvDsServerImageEmbeddingInfo::data
Json::Value data
Definition: includes/nvds_rest_server.h:435
SRC_CROP
@ SRC_CROP
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:49
NvDsServerRouteInfo::default_has_model
gboolean default_has_model
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:480
NvDsServerConvInfo::conv_log
std::string conv_log
Definition: includes/nvds_rest_server.h:310
NvDsServerConvInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:311
NvDsServerRouteInfo
struct NvDsServerRouteInfo NvDsServerRouteInfo
NvDsServerCallbacks::analytics_cb
std::function< void(NvDsServerAnalyticsInfo *analytics_info, void *ctx) > analytics_cb
Definition: includes/nvds_rest_server.h:512
NvDsServerInferInfo
struct NvDsServerInferInfo NvDsServerInferInfo
iequals
bool iequals(const std::string &a, const std::string &b)
NvDsServerCallbacks::image_embedding_cb
std::function< void(NvDsServerImageEmbeddingInfo *image_embedding_info, void *ctx) > image_embedding_cb
Definition: includes/nvds_rest_server.h:514
FORCE_IDR
@ FORCE_IDR
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:42
QUIT_SUCCESS
@ QUIT_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:137
NvDsServerCallbacks::route_cb
std::function< void(NvDsServerRouteInfo *route_info, void *ctx) > route_cb
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:637
NvDsServerModelInfo::from_version
std::string from_version
update only: REQUIRED CAS guard
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:429
NvDsServerInferInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:384
NvDsServerTextEmbeddingInfo::status
NvDsServerTextEmbeddingStatus status
Definition: includes/nvds_rest_server.h:417
NvDsServerOsdInfo
struct NvDsServerOsdInfo NvDsServerOsdInfo
NvDsServerNvTrackerInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:475
NvDsServerAppInstanceInfo
Definition: includes/nvds_rest_server.h:443
NvDsServerAppInstanceInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:450
NvDsServerInferInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:383
NvDsServerEncInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:297
NvDsServerImageEmbeddingInfo::created
long created
Definition: includes/nvds_rest_server.h:434
NvDsServerStreamInfo::key
std::string key
Definition: includes/nvds_rest_server.h:342
StatusNotFound
@ StatusNotFound
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:296
NvDsServerConvInfo
Definition: includes/nvds_rest_server.h:300
NvDsServerStreamInfo::value_camera_id
std::string value_camera_id
Definition: includes/nvds_rest_server.h:343
NvDsServerGetRequestPropFlag
NvDsServerGetRequestPropFlag
Flags for GET request types supported by the REST server.
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:93
NvDsServerTextEmbeddingInfo::created
long created
Definition: includes/nvds_rest_server.h:415
NvDsServerModelInfo::err_info
NvDsServerErrorInfo err_info
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:440
NvDsServerAnalyticsInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:401
NvDsServerRouteStatus
NvDsServerRouteStatus
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:162
STREAM_ADD_FAIL
@ STREAM_ADD_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:144
PROCESS_MODE
@ PROCESS_MODE
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:107
StatusNotImplemented
@ StatusNotImplemented
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:294
NvDsServerImageEmbeddingInfo
Definition: includes/nvds_rest_server.h:424
NvDsServerStreamInfo::value_change
std::string value_change
Definition: includes/nvds_rest_server.h:346
NvDsServerMuxInfo::status
NvDsServerMuxStatus status
Definition: includes/nvds_rest_server.h:320
StatusProxyAuthenticationRequired
@ StatusProxyAuthenticationRequired
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:287
FORCE_INTRA
@ FORCE_INTRA
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:43
NvDsServerInferServerInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:457
NvDsServerImageEmbeddingInfo::bbox_height
gdouble bbox_height
Definition: includes/nvds_rest_server.h:432
MODEL_LOAD_FAIL
@ MODEL_LOAD_FAIL
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:152
NvDsServerTextEmbeddingInfo::text_embedding_log
std::string text_embedding_log
Definition: includes/nvds_rest_server.h:419
NvDsServerConvInfo::conv_flag
NvDsServerConvPropFlag conv_flag
Definition: includes/nvds_rest_server.h:309
NvDsGetRequestInfo::is_text
gboolean is_text
Definition: includes/nvds_rest_server.h:365
NvDsServerAnalyticsInfo
struct NvDsServerAnalyticsInfo NvDsServerAnalyticsInfo
NvDsServerStreamInfo::status
NvDsServerStreamStatus status
Definition: includes/nvds_rest_server.h:355
NvDsServerStreamInfo
struct NvDsServerStreamInfo NvDsServerStreamInfo
GET_MODEL_ROUTING_INFO
@ GET_MODEL_ROUTING_INFO
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:102
NvDsServerInferInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:378
NvDsServerStreamInfo::headers_created_at
std::string headers_created_at
Definition: includes/nvds_rest_server.h:354
NvDsServerEncInfo::force_idr
gboolean force_idr
Definition: includes/nvds_rest_server.h:290
NvDsServerAnalyticsInfo
Definition: includes/nvds_rest_server.h:398
StatusConflict
@ StatusConflict
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:297
NvDsServerInferStatus
NvDsServerInferStatus
Definition: includes/nvds_rest_server.h:203
NvDsServerCallbacks::infer_cb
std::function< void(NvDsServerInferInfo *infer_info, void *ctx) > infer_cb
Definition: includes/nvds_rest_server.h:502
NvDsServerModelInfo::model_log
std::string model_log
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:438
NvDsGetRequestInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:364
NvDsServerTextEmbeddingInfo::data
Json::Value data
Definition: includes/nvds_rest_server.h:416
SRC_CROP_UPDATE_SUCCESS
@ SRC_CROP_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:220
NvDsServerErrorInfo
Definition: includes/nvds_rest_server.h:265
NvDsServerInferServerInfo::inferserver_log
std::string inferserver_log
Definition: includes/nvds_rest_server.h:461
NvDsServerStreamInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:358
StatusPreconditionFailed
@ StatusPreconditionFailed
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:289
NvDsServerInferServerInfo::interval
guint interval
Definition: includes/nvds_rest_server.h:458
NvDsServerImageEmbeddingStatus
NvDsServerImageEmbeddingStatus
Definition: includes/nvds_rest_server.h:239
NvDsServerAppInstanceInfo::appinstance_flag
NvDsServerAppInstanceFlag appinstance_flag
Definition: includes/nvds_rest_server.h:448
ROI_UPDATE
@ ROI_UPDATE
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:127
NvDsServerCallbacks::mux_cb
std::function< void(NvDsServerMuxInfo *mux_info, void *ctx) > mux_cb
Definition: includes/nvds_rest_server.h:504
NvDsServerTextEmbeddingStatus
NvDsServerTextEmbeddingStatus
Definition: includes/nvds_rest_server.h:233
LOW_LATENCY_MODE_UPDATE_SUCCESS
@ LOW_LATENCY_MODE_UPDATE_SUCCESS
Definition: 9.2/sources/libs/nvds_rest_server/nvds_rest_server.h:200
NvDsServerAnalyticsPropFlag
NvDsServerAnalyticsPropFlag
Definition: includes/nvds_rest_server.h:100
NvDsServerCallbacks::model_cb
std::function< void(NvDsServerModelInfo *model_info, void *ctx) > model_cb
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:635