Skip to content

VadimCurca/Whiteboard-Inpainting-Demo

Repository files navigation

ezgif com-gif-maker

Whiteboard Inpainting Demo

This demo focuses on a whiteboard text overlapped by a person, it detects and hides a person on a video so that all text on a whiteboard is visible.

How it works

The input comes from the Raspberry Camera, using Openvino Toolkit it is run through a pre-trained network for person detection. The network output is the bounding box of the detected person.
If the person is detected this bounding box is cut and replaced with one on the same location but from a frame with a clean background.
An edge detection algorithm is also applied to highlight the whiteboard.

image

Components

Hardware

  • Raspberry Pi 4B
  • Movidius Nerual Compute Stick 2
  • Raspberry Pi Camera

Software

  • python
  • Openvino toolkit
  • Streamlit

How to setup and run

  • Some steps to setup Openvino Toolkit for NCS2
  • Install python dependencies from ./requirements_streamlit.txt
  • Go through a few hours of debugging until you realize what else is missing
  • Run with streamlit run ./mySample/project.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •