Coder Social home page Coder Social logo

nhuongtv0106 / smart-video-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intel-iot-devkit/smart-video-workshop

0.0 0.0 0.0 182.56 MB

CMake 0.86% Python 45.07% C 0.64% C++ 20.36% Makefile 0.65% Jupyter Notebook 31.64% Shell 0.34% CSS 0.45%

smart-video-workshop's Introduction

Optimized Inference at the Edge with Intel® Tools and Technologies

This workshop will walk you through a computer vision workflow using the latest Intel® technologies and comprehensive toolkits including support for deep learning algorithms that help accelerate smart video applications. You will learn how to optimize and improve performance with and without external accelerators and utilize tools to help you identify the best hardware configuration for your needs. This workshop will also outline the various frameworks and topologies supported by Intel® accelerator tools.

How to Get Started

⚠️ For the in-class training, the hardware and software setup part has already been done on the workshop hardware. In-class training participants should directly move to Workshop Agenda section.

In order to use this workshop content, you will need to setup your hardware and install the Intel® Distribution of OpenVINO™ toolkit for infering your computer vision application.

1. Hardware requirements

The hardware requirements are mentioned in the System Requirement section of the install guide

2. Operating System

These labs have been validated on Ubuntu* 16.04 OS.

3. Software installation steps

a). Install Intel® Distribution of OpenVINO™ toolkit

Use steps described in the install guide to install the Intel® Distribution of OpenVINO™ toolkit, configure Model Optimizer, run the demos, additional steps to install Intel® Media SDK and OpenCL™ mentioned in the the guide.

b). Install required packages

sudo apt install git
sudo apt install python3-pip
sudo apt install libgflags-dev
sudo pip3 install opencv-python
sudo pip3 install cogapp

c). Run the demo scipts and compile samples

Delete $HOME/inference_engine_samples folder if it already exists.

rm -rf $HOME/inference_engine_samples

Run demo scripts (any one of them or both if you want to both the demos) which will generate the folder $HOME/inference_engine_samples with the current Intel® Distribution of OpenVINO™ toolkit built.

cd /opt/intel/openvino/deployment_tools/demo
./demo_squeezenet_download_convert_run.sh
./demo_security_barrier_camera.sh

sudo chown -R username.username $HOME/inference_engine_samples_build
cd $HOME/inference_engine_samples_build
make

d). Download models using model downloader scripts in Intel® Distribution of OpenVINO™ toolkit installed folder

  • Install python3 (version 3.5.2 or newer)
  • Install yaml and requests modules with command:
sudo -E pip3 install pyyaml requests
  • Run model downloader script to download example deep learning models
cd /opt/intel/openvino/deployment_tools/tools/model_downloader
sudo python3 downloader.py --name mobilenet-ssd,ssd300,ssd512,squeezenet1.1,face-detection-retail-0004,face-detection-retail-0004-fp16,age-gender-recognition-retail-0013,age-gender-recognition-retail-0013-fp16,head-pose-estimation-adas-0001,head-pose-estimation-adas-0001-fp16,emotions-recognition-retail-0003,emotions-recognition-retail-0003-fp16,facial-landmarks-35-adas-0002,facial-landmarks-35-adas-0002-fp16

e). Install Intel® System Studio, VNC viewer and Setup on development machine

Follow the guide to install Intel® System Studio and VNC viewer on your development machine.

f). Install Jupyter Notebook and Opencv

Install Jupyter Notebook using below command

pip3 install jupyter

Install Opencv2 using below command

pip3 install opencv-python

g). Run the Jupyter Notebook

  1. Create the workshop directory from a terminal:
sudo mkdir -p /opt/intel/workshop/
  1. Change ownership of the workshop directory to the current user:
sudo chown username.username -R /opt/intel/workshop/
  1. Navigate to the new directory:
	cd /opt/intel/workshop/
  1. Clone the current Git Pull request repository to /opt/intel/workshop

  2. Navigate to Root directory in new terminal

	$ cd /
  1. Run the Jupyter Notebook
	$ jupyter notebook
  1. It opens in default browser, locate the required jupyter notebook (.ipynb) file and double click on it to open and run.

⚠️ This workshop content has been validated with Intel® Distribution of OpenVINO™ toolkit version R1 (openvino_toolkit_2019.1.094).

Workshop Agenda

Disclaimer

Intel and the Intel logo are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries.

*Other names and brands may be claimed as the property of others

smart-video-workshop's People

Contributors

abhinavintel avatar abhinavsrinet avatar agnathan avatar alaa-eltablawy avatar ianxsmith avatar iotman avatar priyanka-bagade avatar yexin1986 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.