Skip to content

Latest commit

 

History

History
 
 

hide_your_mess_behind_demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hide Your Mess Behind

Description

This demo demonstrates how to use the OpenVINO toolkit in NodeJS to blur the background of video.

There are 2 possible ways to run the demo - using executable or source code in NodeJS.

Running the demo using executable file

Installers

Download installers of the compiled app. They are available for Windows and Linux.

OS Installer
Linux DEB RPM
Windows EXE

Windows

Double-click the installer and follow the instructions. Then run the app from the Start menu.

Ubuntu

sudo dpkg -i hide-your-mess-behind_1.1.0_amd64.deb
hide-your-mess-behind

Running the demo using source code and NodeJS

Requirements

Ensure that you have Node.js (with npm) installed on your system. The app was developed and tested using node v20.15.0 and npm 10.8.2.

Getting started

Before running the app you have to initialize the electron project and install the required packages. Do it by running the following commands in the app folder:

npm init -y
npm install

Running the demo

Once you've completed the initial setup, you can start the app anytime by running the following command in the app folder:

npm start

Using the Demo

Turn on the video

When you open the app, the following view will appear:

image

Select the chosen video source from the control panel. Then click Start button to start the streaming.

image

Later you can turn off streaming by clicking Stop button.

Turn on the inference

To turn on blurring you have to turn on inference using the Inference switch. Below it, you can notice a panel, where you can choose the inference device (e.g. AUTO, GPU, CPU, NPU).

image

You can change the inference device or video source, and turn on and off inference, and streaming anytime.