GitXplorerGitXplorer
y

webcam_client

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
ebf76373aec0c00bc7d0084903e6d6eec7951c98

[update] update readme for help

yyzqin committed 2 years ago
Unverified
87f07cfd4988dd19931653f9fd15c9d844a21403

[fix] fix module not found error

yyzqin committed 2 years ago
Unverified
8f33aca174562a727e5e3e7d0a50195eb4fe3811

[update] update readme and entrypoint

yyzqin committed 2 years ago
Unverified
65b5eab74832eade87b8b594b84011d2d5f5253f

[fix] fix setup cfg path

yyzqin committed 2 years ago
Unverified
946ec793211c2dc9926b9973270d336e0a8e2d18

[fix] fix missing entry

yyzqin committed 2 years ago
Unverified
d550c5cdc52e575f5d1722e3167cdc7a5375a40b

[add] add README.md

yyzqin committed 2 years ago

README

The README file for this repository.

Webcam Client

This library is designed for streaming the webcam attached on the computer, e.g. in-built camera of a MacBook. Then detect the hand bounding box and send the cropped bounding box to the server. It targets on hand-oriented applications.

The downstream applications includes: VR, teleoperation, etc.

Installation

pip3 install git+https://github.com/yzqin/webcam_client.git

Running

run_webcam_client --host "YOUR_SERVER_IP_OR_DOMAIN_NAME" --verbose --mac

Arguments

usage: 
Launch a webcam client that can communicate with a server based on ZeroMQ.
It will stream the input from the webcam attached on your computer, e.g. inbuilt camera of MacBook.
--------------------------------
Example: python3 run_detector_client --host "123.234.123.000" --mac -v

       [-h] [--device DEVICE] --host HOST [--port PORT] [--mac] [--verbose]

options:
  -h, --help            show this help message and exit
  --device DEVICE, -d DEVICE
                        Device name of the webcam in OpenCV VideoCapture format. Can be either a int number like 0 or a path to the WebCam device on Linux like '/dev/video0'
  --host HOST           The server host address, either IP address or domain name.
  --port PORT, -p PORT  The port number for server to receive the webcam stream from ZeroMQ.
  --mac, -m             Flag to indicate whether you are using MacBook.
  --verbose, -v         Flag for verbose.