Skip to content

Files

Latest commit

ca07657 · Dec 26, 2022

History

History
40 lines (26 loc) · 530 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 530 Bytes

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