Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 070d01c

Browse files
authored
Update analytics doc (#823)
* Update analytics doc format
1 parent 0568c86 commit 070d01c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

doc/servermd/Server.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -845,18 +845,19 @@ OWT server allows you creating your own media analytics plugins and deploy them
845845
Your plugin class implementation must inherit from rvaPlugin interface as defined in analytics_agent/plugins/include/pipeline.h. Besides the plugin class implementation, it is required to include the DECLARE_PLUGIN(ClassName) macro to export your plugin implementation.
846846
#### 6.1.4.2 Deploy Your Plugin {#Conferencesection6_1_4_2}
847847
To deploy a plugin to OWT Server, you will need to generate a new GUID for your plugin. After that, copy your plugin .so files to analytics_agent/lib, or to the libpath as specified by agent.toml of analtyics agent. Also you need to add an entry into the plugin.cfg file under analytics_agent with the GUID you generated, for example:
848-
[c842f499aa093c27cf1e328f2fc987c7]
849-
description = 'my own plugin'
850-
pluginversion = 1
851-
apiversion =400
852-
name = 'libsomeplugin.so' # full name of the plugin library
853-
libpath = 'pluginlibs/' # relative to analytics_agent directory
854-
configpath = 'pluginlibs/' # relative to analytics agent directory
855-
modelpath = '/mnt/models/face-detection-retail-0004.xml' # inference model path
848+
```
849+
[c842f499aa093c27cf1e328f2fc987c7]
850+
description = 'my own plugin'
851+
pluginversion = 1
852+
apiversion =400
853+
name = 'libsomeplugin.so' # full name of the plugin library
854+
libpath = 'pluginlibs/' # relative to analytics_agent directory
855+
configpath = 'pluginlibs/' # relative to analytics agent directory
856+
modelpath = '/mnt/models/face-detection-retail-0004.xml' # inference model path
856857
inferencewidth = 672 # inference input width.
857858
inferenceheight = 384 # inference input height.
858859
inferenceframerate = 5 # inference input framerate
859-
860+
```
860861

861862
Restart analytics agent and your plugin will be added to OWT server.
862863

0 commit comments

Comments
 (0)