kornia / camera-grpc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Camera grpc

Small example to create a webcam based grpc server

Setup

Create a virtual environment

python3 -m venv venv
source venv/bin/activate

Install dependencies

pip install -r requirements.txt

Re-generate proto definitions (just in case)

python3 run_codegen.py

Run server

In terminal #1. Play with fps, or the port.

python3 camera_service.py

Run client

In another terminal #2. Change address to connect over wifi.

python3 camera_client.py

About


Languages

Language:Python 100.0%