You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Redistribution and use in source and binary forms, with or without
7
-
modification, are permitted provided that the following conditions are met:
8
-
9
-
1. Redistributions of source code must retain the above copyright notice, this
10
-
list of conditions and the following disclaimer.
11
-
12
-
2. Redistributions in binary form must reproduce the above copyright notice,
13
-
this list of conditions and the following disclaimer in the documentation
14
-
and/or other materials provided with the distribution.
15
-
16
-
3. Neither the name of the copyright holder nor the names of its
17
-
contributors may be used to endorse or promote products derived from
18
-
this software without specific prior written permission.
19
-
20
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6
+
7
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
+
9
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10
+
11
+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12
+
13
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* Intel® platforms supported by the MediaSDK 20.3.0 and OpenVINO 2021.1.
48
+
* Intel® platforms supported by the MediaSDK 21.1.3 and OpenVINO 2021.3.
49
49
* For Media SDK, the major platform dependency comes from the back-end media driver. https://github.com/intel/media-driver
50
50
* For OpenVINO™, see details from here: https://software.intel.com/en-us/openvino-toolkit/documentation/system-requirements
51
51
52
52
# How to build
53
53
54
54
Run build_and_install.sh to install dependent software packages and build sample application video_e2e_sample.
55
55
56
-
Please refer to ”Installation Guide“ in [user guide](./doc/concurrent_video_analytic_sample_application_user_guide_2020.3.0.pdf) for details.
56
+
Please refer to ”Installation Guide“ in [user guide](./doc/concurrent_video_analytic_sample_application_user_guide.pdf) for details.
57
57
58
58
## Build steps
59
59
@@ -68,7 +68,16 @@ cd cva_sample
68
68
```
69
69
This script will install the dependent software packages by running command "apt install". So it will ask for sudo password. Then it will download libva, libva-util, media-driver and MediaSDK source code and install these libraries. It might take 10 to 20 minutes depending on the network bandwidth.
70
70
71
-
After the script finishing, the sample application video_e2e_sample can be found under ./bin. Please refer to "Run sample application" in [user guide](./doc/concurrent_video_analytic_sample_application_user_guide_2020.3.0.pdf) for details.
71
+
After the script finishing, the sample application video_e2e_sample can be found under ./bin.
72
+
73
+
In order to enable the media SDK installed by SVET to coexist with different versions of media SDK installed on the same computer, we suggest (we have done so in our build script) that the media SDK environment variables of SVET should only be set in the current bash, not saved to the global system environment.
74
+
So please run 'source ./svet_env_setup.sh' first when you start a new shell (or change user in shell such as run 'su -') to run ./bin/video_e2e_sample".
75
+
76
+
```sh
77
+
cd cva_sample
78
+
source ./svet_env_setup.sh
79
+
```
80
+
Please refer to "Run sample application" in [user guide](./doc/concurrent_video_analytic_sample_application_user_guide.pdf) for details.
echo"SVET sample application building has completed!"
148
-
echo"Please use ./bin/video_e2e_sample for testing"
149
-
else
150
-
echo"SVET sample application building failed!"
151
-
echo"Please create an IPS with SVET in title on premiersupport.intel.com and upload ./svet_build.log ./svet_download.log to IPS."
224
+
ver=`uname -a`
225
+
if [[ $ver!=*5.4.102* ]] ;
226
+
then
227
+
echo"For TigerLake CPU, please refer to user guide chapter 1.3 to upgrade the kernel with https://github.com/intel/linux-intel-lts/releases/tag/lts-v5.4.102-yocto-210310T010318Z";
228
+
fi
152
229
fi
153
-
fi
154
230
155
-
#Download openvino models
156
-
echo"Check if openvino models IR files have been downloaded...."
157
-
source ./script/download_and_copy_models.sh
231
+
echo"Please run the cmd below to setup running environment:"
232
+
echo""
233
+
echo"source ./svet_env_setup.sh"
234
+
echo""
235
+
echo"Then use ./bin/video_e2e_sample for testing"
236
+
echo"IMPORTANT NOTICE: please run 'source ./svet_env_setup.sh' first when you start a new shell (or change user in shell such as run 'su -') to run ./bin/video_e2e_sample"
## Can I use other OpenVINO version rather than 2020.3 ?
47
+
## Can I use other OpenVINO version rather than 2021.3 ?
48
48
Yes, but you have to modify some code due to interfaces changing. And also you need to download the IR files and copy them to ./model manually. Please refer to script/download_and_copy_models.sh for how to download the IR files.
49
49
50
50
## When run 4 channel decode plus inference and display on APL, the CPU occupy ratio is very high and fps is low
0 commit comments