diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..36578d4 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +pages: + stage: deploy + script: + - mkdir -p public + - cp -r website/* public/ + - cp -r docs/screenshots public/screenshots + artifacts: + paths: + - public + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH diff --git a/website/index.html b/website/index.html new file mode 100644 index 0000000..90a353d --- /dev/null +++ b/website/index.html @@ -0,0 +1,865 @@ + + + + + + YoloCam Linux — Open Source Camera Control for YoloCam S3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ GPLv3 + Python 3.10+ + Linux + HI3519DV500 +
+

+ YoloCam Linux +

+

+ Open-source Linux control suite for the YoloCam S3 USB webcam. + CLI and GUI for full camera parameter control via reverse-engineered protobuf protocol. +

+
+ + + Install + + + + View on GitLab + +
+
+ + + +
+

Features

+

+ Full control over the YoloCam S3 from any Linux machine. No proprietary Windows software required. +

+ +
+
+

+ + + + CLI Control +

+

+ Full parameter control from the command line. Get and set every camera parameter, + monitor real-time notifications, and script automated workflows. +

+
    +
  • 57 controllable parameters
  • +
  • JSON output for scripting
  • +
  • Real-time notification monitor
  • +
  • ISO, shutter, WB, zoom, focus
  • +
+
+ +
+

+ + + + PySide6 GUI +

+

+ Desktop application with live UVC video preview alongside + organized parameter controls for exposure, white balance, focus, and audio. +

+
    +
  • Live video feed via UVC
  • +
  • Auto-connect on startup
  • +
  • Collapsible parameter panels
  • +
  • HDMI output configuration
  • +
+
+ +
+

+ + + + Color Grading +

+

+ Professional HSV color grading with a real-time 3D Color LUT + computed and uploaded directly to the camera's HiSilicon ISP hardware. +

+
    +
  • Fast mode: two-point color remapping
  • +
  • Pro mode: per-point polar grid editing
  • +
  • 17×17×17 3D LUT (4913 nodes)
  • +
  • Adjustable CLUT blend intensity
  • +
+
+
+
+ + + +
+

How It Works

+

+ The YoloCam S3 is a composite USB device. The control protocol was fully reverse-engineered from the proprietary Windows client. +

+ +
+
+

+ The camera exposes a CDC NCM network interface over USB, creating + a point-to-point Ethernet link between the host and camera. A separate UVC + interface provides the live video feed. +

+

+ Control messages are protobuf payloads (package tv.yunxi.protobuf) + wrapped in a dual-envelope wire format and sent over TCP port 12345. + The outer envelope handles transport framing; the inner envelope carries + size and integrity checksums. +

+

+ 149 commands are defined, covering image quality, exposure, white balance, focus, + zoom, audio, AI tracking, HDMI output, color LUT, and device management. +

+
+ +
+ OUTER ENVELOPE (8 bytes) +08 start marker +01 client type (0x01 = host) +00 00 padding +xx xx xx xx inner size (LE32) + +INNER ENVELOPE (6 bytes) +A5 inner start marker +xx xx xx xx protobuf size (BE32) +xx header XOR checksum + +PAYLOAD (N bytes) +... serialized protobuf Message + +TRAILER (2 bytes) +xx data XOR checksum +5A end marker +
+
+
+ + + +
+

Installation

+

+ Requires Linux with USB support, Python 3.10+, and + uv for dependency management. +

+ +
+
+
1
+

Clone the repository

+
git clone https://gitlab.com/sethhillbrand/yolocam-linux.git
+cd yolocam-linux
+
+ +
+
2
+

Install

+

Creates an isolated venv and symlinks yolocam-ctl and yolocam-gui to ~/.local/bin/.

+
make install
+
+# For the GUI, also install PySide6 from apt
+make install-gui-deps
+
+ +
+
3
+

Connect the camera

+

Plug in the YoloCam S3 via USB. The CDC NCM interface auto-configures via DHCP.

+
# Verify connection
+yolocam-ctl status
+
+ +
+
4
+

Use it

+
# CLI
+yolocam-ctl get brightness
+yolocam-ctl set iso 400
+yolocam-ctl monitor
+
+# GUI
+yolocam-gui
+
+
+
+ + + +
+

Screenshots

+

+ The GUI provides organized panels for every camera parameter, with a live video feed and protocol console. +

+ +
+
+ YoloCam GUI main window showing live video feed and camera parameter controls +
GUI main window with live UVC video feed and parameter panels
+
+ +
+ YoloCam GUI color grading panel with HSV color wheel and 3D CLUT controls +
Color grading panel with HSV wheel and CLUT controls
+
+ +
+ yolocam-ctl status command output showing camera connection details +
CLI status output showing camera firmware and connection state
+
+ +
+ yolocam-ctl get-all output showing all camera parameters +
Reading all camera parameters via the CLI
+
+
+
+ + + +
+

Documentation

+

+ In-depth guides for the CLI, GUI, protocol internals, and direct device access. +

+ +
+ +

CLI User Guide

+

All commands, options, and usage examples for yolocam-ctl.

+
+ + +

GUI User Guide

+

Panel walkthroughs, keyboard shortcuts, and color grading workflows.

+
+ + +

Protocol Reference

+

Wire format, protobuf schema, command IDs, and communication patterns.

+
+ + +

Device Access

+

Telnet, FTP, filesystem layout, and camera application management.

+
+
+
+ + + + + + + diff --git a/website/robots.txt b/website/robots.txt new file mode 100644 index 0000000..40ccd41 --- /dev/null +++ b/website/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://sethhillbrand.gitlab.io/yolocam-linux/sitemap.xml diff --git a/website/sitemap.xml b/website/sitemap.xml new file mode 100644 index 0000000..6221e65 --- /dev/null +++ b/website/sitemap.xml @@ -0,0 +1,9 @@ + + + + https://sethhillbrand.gitlab.io/yolocam-linux/ + 2026-03-13 + monthly + 1.0 + +