Skip to main content
EuroPythonCode of ConductLive đŸ“č

Real-time browser-ready computer vision apps with Streamlit

Room:
Liffey Hall 2
Start (Dublin time):
Start (your time):
Duration:
30 minutes

Abstract

By using Streamlit and streamlit-webrtc, we can create web-based real-time computer vision apps only with ~10 or 20 additional lines of Python code.

To turn computer vision models into real-time demos, we have conventionally used OpenCV modules such as cv2.VideoCapture and cv2.imshow(). However, such apps are difficult or impossible to share with friends, run on smartphones, or integrate with modern interactive widgets and other data views and inputs.

Web-based apps don't have such problems.

Streamlit provides an easy way to build web apps quickly, and streamlit-webrtc allows to use real-time video streams. You can create real-time video apps with modern interactive views and inputs, and host these apps on the cloud to use from any devices with browsers.

In this talk, I will demonstrate the development process using these libraries and show a variety of examples so that we see how easy and useful they are and can make use of them in daily development and research.streamlit-webrtc extends Streamlit to be capable of dealing with real-time video and audio streams. With a combination of these libraries, developers can rapidly create real-time computer vision and audio processing apps for which OpenCV has typically been used.

TalkPyData: Deep Learning, NLP, CV

Description

I am the author of streamlit-webrtc and a member of the Streamlit Creators program (selected community members). The repository of streamlit-webrtc is here: https://github.com/whitphx/streamlit-webrtc

My lightning talk about streamlit-webrtc at PyCon JP 2021 is available: https://youtu.be/_LuLs8H1gJc

Articles about this library:

As linked from the repo, demo apps I have developed are available online:


The speaker

Yuichiro Tachibana

Yuichiro works as a professional software developer and also loves contributing to OSS projects. As a Pythonista, he has participated in various projects including web development, multimedia streaming, data management, computer vision, and machine learning.



← Back to schedule