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

Commit 546dfa1

Browse files
authored
GStreamer pipeline based analytics (#656)
* Use GStreamer and openvino for video analytics
1 parent b626d73 commit 546dfa1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+4020
-1168
lines changed

doc/servermd/AnalyticsFlow.jpg

159 KB
Loading

doc/servermd/AnalyticsGuide.md

Lines changed: 395 additions & 0 deletions
Large diffs are not rendered by default.

doc/servermd/AnalyticsPipeline.jpg

100 KB
Loading

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM ubuntu:18.04 AS owt-build
88
WORKDIR /home
99

1010
# COMMON BUILD TOOLS
11-
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y -q --no-install-recommends build-essential autoconf make git wget pciutils cpio libtool lsb-release ca-certificates pkg-config bison flex libcurl4-gnutls-dev zlib1g-dev nasm yasm m4 autoconf libtool automake cmake libfreetype6-dev
11+
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y -q --no-install-recommends build-essential autoconf make git wget pciutils cpio libtool lsb-release ca-certificates pkg-config bison flex libcurl4-gnutls-dev zlib1g-dev nasm yasm m4 autoconf libtool automake cmake libfreetype6-dev libgstreamer-plugins-base1.0-dev
1212

1313

1414
# Build libnice

docker/analyticspage/index.html

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<!--
2+
MIT License
3+
4+
Copyright (c) 2012 Universidad Politécnica de Madrid
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.
23+
24+
Copyright (C) <2018> Intel Corporation
25+
26+
SPDX-License-Identifier: Apache-2.0
27+
-->
28+
29+
<html>
30+
<meta charset="utf-8">
31+
<head>
32+
<title>Intel&reg; Collaboration Suite for WebRTC Conference Sample</title>
33+
</head>
34+
35+
<body>
36+
<div style="width:320px;height:240" class="local">
37+
<video playsinline muted autoplay style="width:320px;height:240"></video>
38+
</div>
39+
<p>
40+
<label class='labelinput'>rtspurl: <input type='text' id='rtspurl' /></label>
41+
<button onclick="restStartStreamingIn()">startRTSP</button>
42+
</p>
43+
<p>
44+
<label class='labelinput'>pipelineID: <input type='text' id='algorithm' value="dc51138a8284436f873418a21ba8cfa9" /></label>
45+
<select class="fillparent" id="videofromlist">
46+
<option value="">video from</option>
47+
</select>
48+
<button onclick="restStartAnalytics()">startAnalytics </button>
49+
<button onclick="restListAnalytics()">listAnalytics </button>
50+
<p>
51+
</p>
52+
<label class='labelinput'>analytics id: <input type='text' id='analyticsid' /></label>
53+
<button onclick="restStopAnalytics()">stopAnalytics</button>
54+
</p>
55+
<select class="fillparent" id="subscribevideolist">
56+
<option value="">subscribe video</option>
57+
</select>
58+
<button onclick="subscribeVideo()">subscribe</button>
59+
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
60+
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js" type="text/javascript"></script>
61+
<script src="scripts/owt.js" type="text/javascript"></script>
62+
<script src="scripts/index.js" type="text/javascript"></script>
63+
<script src="scripts/rest-sample.js" type="text/javascript"></script>
64+
<script language="JavaScript">
65+
</script>
66+
</body>
67+
68+
</html>

0 commit comments

Comments
 (0)